Spring Boot Testing

Review your knowledge of unit testing,integration testing,and test slices in Spring Boot.

1. Which annotation is used to mock a Spring bean in Spring Boot tests?
2. What is the primary purpose of the @WebMvcTest annotation?
3. Which testing framework is the default for unit tests in Spring Boot starter-test?
4. Which of the following are test slice annotations in Spring Boot?
5. Which annotations can disable a test method in JUnit?
6. @SpringBootTest loads the entire application context for integration testing.
7. Mockito's @Mock annotation alone can replace a Spring-managed bean in @SpringBootTest.
8. What does JUnit stand for? (full form)
9. Name the annotation used to mark a test method in JUnit 5.
10. What is the most common mocking framework used in Spring Boot tests?
Answered 0 of 0 — 0 correct