@SpringBootTest

The Spring Boot test annotation that starts the complete application context, proving that all the wiring works together.

In more detail

It is slower than a slice but catches missing beans, bad configuration and routing that only appear when everything is assembled. Combined with Testcontainers it can run against a real database as well.

Related terms

Taught in

References