Registry / testing / spring-boot-test-autoconfigure

spring-boot-test-autoconfigure

JSON →
library4.0.6javamavenunverified

Auto-configuration support for testing Spring Boot applications.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test-autoconfigure</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-TEST-A
S
spring-boot-test-autoconfigure
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.

AutoConfigureMockMvc
org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc

Tests a Spring Boot controller using MockMvc.

import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.web.servlet.MockMvc; @SpringBootTest @AutoConfigureMockMvc public class ExampleTest { @Autowired private MockMvc mockMvc; @Test public void test() throws Exception { mockMvc.perform(get("/")).andExpect(status().isOk()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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