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:
@@ -0,0 +1,32 @@
|
||||
Class.forName on the Boot 4.1.2 test classpath
|
||||
|
||||
@WebMvcTest
|
||||
old: org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest -> NOT FOUND
|
||||
new: org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest -> present
|
||||
@AutoConfigureMockMvc
|
||||
old: org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc -> NOT FOUND
|
||||
new: org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc -> present
|
||||
@DataJpaTest
|
||||
old: org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest -> NOT FOUND
|
||||
new: org.springframework.boot.data.jpa.test.autoconfigure.DataJpaTest -> present
|
||||
TestEntityManager
|
||||
old: org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager -> NOT FOUND
|
||||
new: org.springframework.boot.jpa.test.autoconfigure.TestEntityManager -> present
|
||||
@AutoConfigureTestDatabase
|
||||
old: org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase -> NOT FOUND
|
||||
new: org.springframework.boot.jdbc.test.autoconfigure.AutoConfigureTestDatabase -> present
|
||||
@RestClientTest
|
||||
old: org.springframework.boot.test.autoconfigure.web.client.RestClientTest -> NOT FOUND
|
||||
new: org.springframework.boot.restclient.test.autoconfigure.RestClientTest -> present
|
||||
@JsonTest
|
||||
old: org.springframework.boot.test.autoconfigure.json.JsonTest -> present
|
||||
new: org.springframework.boot.test.autoconfigure.json.JsonTest -> present
|
||||
@MockBean
|
||||
old: org.springframework.boot.test.mock.mockito.MockBean -> NOT FOUND
|
||||
new: org.springframework.test.context.bean.override.mockito.MockitoBean -> present
|
||||
@JsonComponent
|
||||
old: org.springframework.boot.jackson.JsonComponent -> NOT FOUND
|
||||
new: org.springframework.boot.jackson.JacksonComponent -> present
|
||||
@SpyBean
|
||||
old: org.springframework.boot.test.mock.mockito.SpyBean -> NOT FOUND
|
||||
new: org.springframework.test.context.bean.override.mockito.MockitoSpyBean -> present
|
||||
Reference in New Issue
Block a user