├── .gitattributes ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── codestyle ├── .editorconfig ├── checkstyle.xml └── idea_codestyle.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── src ├── main ├── java │ └── com │ │ └── kirekov │ │ └── spring │ │ └── boot │ │ └── test │ │ └── example │ │ ├── SpringBootTestExampleApplication.java │ │ ├── converters │ │ └── DTOConverters.java │ │ ├── dto │ │ └── PersonDTO.java │ │ ├── entity │ │ └── Person.java │ │ ├── exception │ │ └── ValidationFailedException.java │ │ ├── repository │ │ └── PersonRepository.java │ │ └── service │ │ └── person │ │ ├── PersonCreateService.java │ │ ├── PersonCreateServiceImpl.java │ │ ├── PersonValidateService.java │ │ └── PersonValidateServiceImpl.java └── resources │ └── application.properties └── test ├── java └── com │ └── kirekov │ └── spring │ └── boot │ └── test │ └── example │ ├── TestProfiles.java │ ├── TestTags.java │ ├── repository │ ├── PersonRepositoryDataJpaTest.java │ └── PersonRepositoryTestContainers.java │ └── service │ └── person │ ├── PersonCreateServiceImplDataJpaTest.java │ ├── PersonCreateServiceImplMockingTest.java │ ├── PersonCreateServiceImplSpringBootTest.java │ ├── PersonCreateServiceImplTestContainers.java │ └── PersonCreateServiceImplTestContainersFlyway.java └── resources ├── application-test-containers-flyway.yml ├── application-test-containers.yml └── db └── migration └── V1__create_person_table.sql /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/README.md -------------------------------------------------------------------------------- /codestyle/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/codestyle/.editorconfig -------------------------------------------------------------------------------- /codestyle/checkstyle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/codestyle/checkstyle.xml -------------------------------------------------------------------------------- /codestyle/idea_codestyle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/codestyle/idea_codestyle.xml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'spring-boot-test-example' 2 | -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/SpringBootTestExampleApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/SpringBootTestExampleApplication.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/converters/DTOConverters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/converters/DTOConverters.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/dto/PersonDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/dto/PersonDTO.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/entity/Person.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/entity/Person.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/exception/ValidationFailedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/exception/ValidationFailedException.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/repository/PersonRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/repository/PersonRepository.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateService.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonValidateService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonValidateService.java -------------------------------------------------------------------------------- /src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonValidateServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/main/java/com/kirekov/spring/boot/test/example/service/person/PersonValidateServiceImpl.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/TestProfiles.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/TestProfiles.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/TestTags.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/TestTags.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/repository/PersonRepositoryDataJpaTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/repository/PersonRepositoryDataJpaTest.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/repository/PersonRepositoryTestContainers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/repository/PersonRepositoryTestContainers.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplDataJpaTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplDataJpaTest.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplMockingTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplMockingTest.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplSpringBootTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplSpringBootTest.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplTestContainers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplTestContainers.java -------------------------------------------------------------------------------- /src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplTestContainersFlyway.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/java/com/kirekov/spring/boot/test/example/service/person/PersonCreateServiceImplTestContainersFlyway.java -------------------------------------------------------------------------------- /src/test/resources/application-test-containers-flyway.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/resources/application-test-containers-flyway.yml -------------------------------------------------------------------------------- /src/test/resources/application-test-containers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/resources/application-test-containers.yml -------------------------------------------------------------------------------- /src/test/resources/db/migration/V1__create_person_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimonHarmonicMinor/spring-boot-test-example/HEAD/src/test/resources/db/migration/V1__create_person_table.sql --------------------------------------------------------------------------------