S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the purpose of @SpringBootTest?

  • (A) To test only REST APIs
  • (B) To test Spring Boot applications with full context
  • (C) To test JavaScript code
  • (D) To test Thymeleaf templates only
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@SpringBootTest loads the complete application context for integration testing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.