To perform integration testing in Spring Boot, the _____ annotation is used to enable full application context loading.

  • @ContextConfiguration
  • @IntegrationTest
  • @RunWith(SpringRunner.class)
  • @SpringBootTest
In Spring Boot, to perform integration testing and enable full application context loading, you use the @SpringBootTest annotation. This annotation loads the entire Spring application context, making it suitable for integration testing scenarios.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *