We all know about the importance of testing, we do our unit tests, we continue with our integration tests….. but in each case we are always testing isolated features and we use mocks for those things not important in those tests….. So what about testing everything with real layers and all together ? And, even better, having that big test encapsulated in our project test suits and runnable locally and from our CI… Here is where Testcontainers appear.
In this talk I will explain what was my experience introducing Testcontainers in our project that includes 8 external components (PostgreSQL, AWS S3, Kafka, company applications…) , and how we test the whole application including network, product versions, and taking into account particular configurations on each layer involved.