Registry / testing / spring-boot-test

spring-boot-test

JSON →
library4.0.6javamavenunverified

Spring Boot Test provides testing support for Spring Boot applications.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-TEST
S
spring-boot-test
testingjavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpringBootTest
org.springframework.boot.test.context.SpringBootTest

Annotates a test class to load the full Spring Boot application context.

import org.springframework.boot.test.context.SpringBootTest; import org.junit.jupiter.api.Test; @SpringBootTest public class Main { @Test void contextLoads() { System.out.println("Test passes"); } }
Debug
Known issues
gotchaUsing @SpringBootTest without proper context configuration may lead to slow tests.
fix
Use @WebMvcTest or @DataJpaTest for focused slices to speed up tests.
affects: >=2.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
6
Resources
spring-boot-test — mvn dependency:get spring-boot-test · libregistry