Skip to main content

One post tagged with "junit"

View All Tags

Spring Boot Integration Testing with Testcontainers and JUnit5

· 3 min read
Ionuț Barangă
Software Engineer

Testing

Photo by CHUTTERSNAP on Unsplash

Spring Boot testing library offers an out-of-the box @SpringBootTest annotation that boots the entire application and gets it ready for testing.

However, getting backing services (e.g. databases, caches, message brokers) available and not interfering with development or other environments might still be a challenging task.