Testing strategies for modern software architectures are evolving. As we transition from monolithic structures to team-sized microservices with crisp APIs aligned to bounded contexts, we encounter more stable testing surfaces. This shift leads many high-performing teams to favor integration tests over fine-grained, brittle unit tests. These integration tests, which are closer to the functional requirements, prove more trustworthy and are more resilient to internal refactoring, though they may come with a higher cost. In a vivid and engaging style, this talk addresses the primary challenges of integration testing in the microservices era: cognitive overload, test isolation, and test execution speed. Join the testing revolution and discover how to enhance your team's testing efficiency and effectiveness.
2. victorrentea.ro/training-offer
👋 Hi, I'm Victor Rentea 🇷🇴 PhD(CS): VictorRentea.ro
Java Champion, 18 years of code, 10 years of teaching
Consultant & Trainer for 120+ companies:
❤ Clean Code, Architecture, Unit Tes3ng
🛠 Spring, Hibernate, Reac3ve/WebFlux
⚡ Java Performance, Secure Coding 🔐
Lots of EducaHve Conference Talks on YouTube
Founder of European So<ware Cra<ers Community (6K members)
🔥 Free 1-hour webinars, a;er work 👉 victorrentea.ro/community
Past events on youtube.com/vrentea
Father of 👧👦, servant of a 🐈, weekend gardener 🌼 VictorRentea.ro
5. 6
§The Legacy Monolith
can hide huge complexity behind a few entry points
è Tes8ng deep corners only possible with Unit Tests
§Microservices
have more APIs = stable test surfaces
hide less code complexity, but more configura8on risk
è Write more Integra-on Tests è
For Monoliths
6. 7
Integra-on
(one microservice)
Integrated
(en-re ecosystem)
Deploy all microservices in dockers / staging env
Expensive, slow, fragile tests
Use for cri8cal business flows (eg checkout)
Cover one microservice fully
Use for every flow ⭐⭐⭐
Isolate tests without mocks
Cover 1 class/role (Solitary/Social Unit Testsè)
Use for naturally isolated pieces with high complexity.
@Mock are allowed
Honeycomb Tes,ng Strategy
Testcontainers 🐳
WireMock
&co
Contract
Tests
(Pact, SCC)
DB ES Kafka ...
API
many tests on
one entry point
h$ps://engineering.atspo2fy.com/2018/01/tes2ng-of-microservices/
Implementa>on
Detail
(a role)
complexity
decouple and
test in isola4on