spring-test-slices: Spring Boot 4.1.2 test slices lab (@WebMvcTest, @JsonTest, @RestClientTest, @DataJpaTest vs @SpringBootTest)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7Jbw5CxUQ13D7gn25
This commit is contained in:
Claude
2026-11-14 15:22:42 +05:30
parent c92977b23d
commit f8318c8376
50 changed files with 1470 additions and 0 deletions
@@ -0,0 +1,7 @@
Context startup time per test class (one class per mvn run; indicative, varies between runs)
Started JsonSliceTest in 1.063 seconds
Started RestClientSliceTest in 1.366 seconds
Started WebMvcSliceTest in 2.77 seconds
Started DataJpaSliceTest in 3.405 seconds
Started FullContextTest in 5.723 seconds