September 2019
Intermediate to advanced
668 pages
15h 59m
English
When writing persistence tests, we want to start an embedded database when the tests begin and tear it down when the tests complete. However, we don't want the tests to wait for other resources to start up, for example, a web server such as Netty (which is required in runtime).
Spring Boot comes with two class level annotations tailored for this specific requirement: