Skip to content

A project to show some Spring functionalities and their associated tests

Notifications You must be signed in to change notification settings

sokube/spring-test-example

Repository files navigation

Demonstration Project

Builds

https://github.com/sokube/spring-test-example/actions

Greetings Service

https://sonarcloud.io/dashboard?id=sokube-greetings-service
https://sonarcloud.io/dashboard?id=sokube-greetings-service
https://sonarcloud.io/dashboard?id=sokube-greetings-service
https://sonarcloud.io/dashboard?id=sokube-greetings-service

Stat Service

https://sonarcloud.io/dashboard?id=sokube-greetings-stat-service
https://sonarcloud.io/dashboard?id=sokube-greetings-stat-service
https://sonarcloud.io/dashboard?id=sokube-greetings-stat-service
https://sonarcloud.io/dashboard?id=sokube-greetings-stat-service

Architecture overview

architecture overview
Figure 1. architecture overview

List of patterns / concepts /technics demonstrated

  • Hexagonal Architecture

  • Multimodules Spring Boot Project

  • REST API with Spring MVC (greeting service) and Spring Web Reactive (stat service)

  • Kafka Consumer (stat service) / producer (greeting service)

  • Reactive implementation (stat service)

  • Test : Unit tests with Mockito and AssertJ

  • Test : Integration tests with Spring Slice Tests Annotations

  • Test : Integration tests with @EmbeddedKafka

  • Test : CDC tests with Pact

  • Test : BDD tests with Cucumber and JUnit 5

About

A project to show some Spring functionalities and their associated tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published