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,14 @@
|
||||
bean WebMvcTest JsonTest RestClientTest DataJpaTest SpringBootTest
|
||||
BookController (@RestController) yes no no no yes
|
||||
ApiExceptionHandler (@ControllerAdvice) yes no no no yes
|
||||
PriceJson (@JacksonComponent) yes yes yes no yes
|
||||
MockMvc yes no no no yes
|
||||
JsonMapper (Jackson 3) yes yes yes no yes
|
||||
BookService (@Service) yes no no no yes
|
||||
BookRepository (Spring Data) no no no yes yes
|
||||
EntityManagerFactory no no no yes yes
|
||||
DataSource no no no yes yes
|
||||
RestClient.Builder no no yes no yes
|
||||
IsbnLookupClient (@Component) no no yes no yes
|
||||
AuditLogger (@Component) no no no no yes
|
||||
bean definitions 126 35 53 80 251
|
||||
Reference in New Issue
Block a user