• Tutorials
  • Courses
  • Tracks

Question 2

Last Updated :
Discuss
Comments

What does @SpringBootTest do by default?

Starts the full Spring ApplicationContext for testing

Only tests controller methods without loading the context

Disables the application context for faster tests

Runs tests only for repository layers

Share your thoughts in the comments