S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the function of the @SpringBootTest annotation?

  • (A) To test Thymeleaf templates
  • (B) To load the full application context for testing
  • (C) To test only data repositories
  • (D) To test JAR packaging
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@SpringBootTest loads the full Spring application context for integration tests.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.