このバージョンはまだ開発中であり、まだ安定しているとは見なされていません。最新の安定バージョンについては、Spring Boot 3.5.7 を使用してください!

テストモジュール

Spring Boot は、機能に特化したいくつかの -test モジュールを提供します。

モジュール 目的

spring-boot-cache-test

Spring Framework のキャッシュ抽象化を使用するアプリケーションをテストします。

spring-boot-data-cassandra-test

Spring Data、Cassandra を使用するアプリケーションのテスト。@DataCassandraTest テストスライスを提供します。

spring-boot-data-couchbase-test

Spring Data、Couchbase を使用するアプリケーションのテスト。@DataCouchbaseTest テストスライスを提供します。

spring-boot-data-elasticsearch-test

Spring Data、Elasticsearch を使用するアプリケーションのテスト。@DataElasticsearchTest テストスライスを提供します。

spring-boot-data-jdbc-test

Spring Data JDBC を使用するアプリケーションをテストします。@DataJdbcTest テストスライスを提供します。

spring-boot-data-jpa-test

Spring Data JPA を使用するアプリケーションをテストします。@DataJpaTest テストスライスを提供します。

spring-boot-data-ldap-test

Spring Data LDAP を使用するアプリケーションをテストします。@DataLdapTest テストスライスを提供します。

spring-boot-mongodb-test

Spring Data MongoDB を使用するアプリケーションをテストします。@DataMongoTest テストスライスを提供します。

spring-boot-data-neo4j-test

Spring Data JPA を使用するアプリケーションをテストします。@DataNeo4jTest テストスライスを提供します。

spring-boot-data-r2dbc-test

Spring Data R2DBC を使用するアプリケーションをテストします。@DataR2dbcTest テストスライスを提供します。

spring-boot-data-redis-test

Spring Data、Redis を使用するアプリケーションのテスト。@DataRedisTest テストスライスを提供します。

spring-boot-graphql-test

Spring GraphQL を使用するアプリケーションをテストします。@GraphQlTest テストスライスを提供します。

spring-boot-jdbc-test

Testing applications that using Spring JDBC. Provides the @JdbcTest test slice.

spring-boot-jooq-test

Testing applications that using jOOQ. Provides the @JooqTest test slice.

spring-boot-jpa-test

Testing applications that use JPA.

spring-boot-micrometer-metrics-test

Testing applications that use Micrometer Metrics.

spring-boot-micrometer-tracing-test

Testing applications that use Micrometer Tracing.

spring-boot-restclient-test

Testing applications that use REST clients. Provides the @RestClientTest test slice.

spring-boot-security-test

Testing applications that use Spring Security.

spring-boot-webclient-test

Testing applications that use WebClient. Provides the @WebClientTest test slice.

spring-boot-webflux-test

Spring、WebFlux を使用するアプリケーションのテスト。@WebFluxTest テストスライスを提供します。

spring-boot-webmvc-test

Testing applications that use Spring Web MVC. Provides the @WebMvcTest test slice.

spring-boot-webservices-test

Testing applications that use Spring Web Services. Provides the @WebServiceClientTest and @WebServiceServerTest test slices.