End-to-End Automated Testing in a Microservices Architecture
summary
Company moves from a monolith to ~60 microservices run by 45 developers across seven teams and reduces hotfixes by shifting testing left. End-to-end tests submit REST requests, listen to RabbitMQ traffic, and store per-test event logs; assertions use Approval Testing (diffs against approved output) with filtering regexes. Tooling includes texttest and GoCD pipelines, a bill-of-materials workflow, dark deploys for production traffic checks, and data-driven test cases.
AI-written summary · about
chapters (34)
- 0:00Emily Bache
- 2:04Microservices architecture
- 4:06Multi-team development
- 5:14Move towards Continuous Delivery
- 5:43Pagero's release schedule
- 7:12Test Pyramid: Mike Cohn
- 8:44Testing Strategy for the Monolith
- 9:35Unit tests
- 9:58Learning TDD
- 10:30Data-Layer & Service Tests
- 13:11Test Pyramid for Microservices - Fowler
- 14:49Microservice Tests
- 16:31Testing in the pipeline
- 19:35Example End-to-End Test Strategy
- 21:52Test-API for creating accounts
- 23:29Data-Driven Testing
- 24:543 parts of a test
- 26:49The "Approved" Result
- 27:41There is a change in behaviour!
- 28:43Scenario 2: it's a feature
- 32:40Assertion vs Filtering
- 33:31Approval Tests are not Isolated
- 34:42Related Failure Example
- 35:52Text Test Tool Support
- 37:46Approval Testing overview
- 39:00End-to-End test failure?
- 39:26Debugging a failing test?
- 44:18System tests split by feature area
- 49:33Testing in Staging or Production?
- 50:49Difference Testing
- 52:28Regression Testing
- 53:22Team-owned system test
- 53:59Test in Production
- 54:52Summary
related talks
45mBuilding a successful test automation architecture in a microservices environment
43mBreak Up the Monolith: Testing Microservices
47mBreak Up the Monolith: Testing Microservices
37mTesting in a Microservices Architecture
52mTesting Microservices
47mTest automation in backend projects
38mScaling Automated Testing & Architecture from Startup to Enterprise
30mTestOps: Transforming Chaos into Streamlined Story-Based Releases
