Dare to test your Prod on CI. Hold my drink , and check Testcontainers, Jonathan Vila

Опубликовано: 16 Октябрь 2024
на канале: Bulgarian Java User Group
23
1

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 , and how we test the whole application including network, product versions, and taking into account particular configurations on each layer involved.