Spring Boot Testcontainers - Integration Testing made easy!
ฝัง
- เผยแพร่เมื่อ 3 ต.ค. 2024
- In this tutorial you are going to learn how to write an integration test in Spring Boot using Testcontainers. We are going to use Testcontainers to spin up a PostgreSQL database in a container and use that for our tests. We will write a Repository test and a Controller test that calls the repository that talks to our database.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/dan...
Testcontainers: www.testcontainers.com
JsonPlaceholder Service: jsonplaceholde...
Spring Blog Article: spring.io/blog...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
LinkedIn: / danvega
Newsletter: www.danvega.de...
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️ - วิทยาศาสตร์และเทคโนโลยี