2v0-7222 Exam QuestionsBrowse all questions from this exam

2v0-7222 Exam - Question 62


Which two options are application slices that can be tested with Spring Boot Testing? (Choose two.)

Show Answer
Correct Answer: AC

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.

Discussion

2 comments
Sign in to comment
james2033Option: A
Jan 31, 2024

The question is not complete. https://www.diffblue.com/blog/java/software%20development/testing/spring-boot-test-slices-overview-and-usage/

2211094Options: AC
Jun 16, 2024

AC is correct answer.