Which two options are application slices that can be tested with Spring Boot Testing? (Choose two.)
Which two options are application slices that can be tested with Spring Boot Testing? (Choose two.)
In the context of Spring Boot Testing, application slices refer to specific layers or components of an application that can be isolated and tested. Repository refers to the data access layer, and Web refers to the web layer, both of which are common targets for testing in Spring Boot applications. Testing repositories involves verifying the correctness of data interactions, while testing the web layer involves ensuring the functionality of web endpoints. Both of these slices are well-supported by Spring Boot testing annotations and configurations.
AC is correct answer.
The question is not complete. https://www.diffblue.com/blog/java/software%20development/testing/spring-boot-test-slices-overview-and-usage/