How to use Testcontainers library in java spring apps during tests to spin up database infrastructure identical to our production?
How do we make sure our test are isolated and don't interfere with each other?
How do we load test data for our tests?
Github repo:
https://github.com/kanezi/spring-soci...
00:00 - intro
02:10 - testcontainer dependencies
03:19 - @DataJpaTest
05:36 - @Testcontainers
15:18 - testcontainers setup
20:36 - service integration test
26:21 - conclusion