Skip to content

Better test Better Code: 纯净的Spring Boot 测试脚手架

Notifications You must be signed in to change notification settings

KelinTan/spring-boot-archetype-test

Repository files navigation

spring-boot-archetype-test

Better test,Better code

Links

Test For Java

Test For Kotlin

Spring Boot Archetype Test

  • Flyway manage database version

  • Integration Testing with @SpringBootTest

  • Controller Unit Test with @WebMvcTest and @AutoConfigureMockMvc

  • DB Test with @MybatisTest and @Sql

  • DB Test with @DataJpaTest and @Sql

  • Mock Test with @MockBean and @Mock

  • DB test with @DataMongoTest

  • Integration Testing with @Testcontainers