How to Stop Writing Integration* Tests
summary
A team managing about 50 services built from many microservices faces regression risks because services interact via REST, GraphQL, gRPC, WebSockets, RabbitMQ, Kafka, etc. The talk compares different ways to ensure system correctness in such an environment and describes an approach the team adopted that allowed them to stop using end-to-end/integration tests.
AI-written summary · about
chapters (16)
- 0:00Introduction and background
- 2:56Problem with integration tests
- 5:43Local isolated environment issues
- 12:02Alternative approach breakdown
- 13:04Data modeling in tests
- 16:15Interface abstraction
- 17:38Business scenario structure
- 21:28Mocking external services
- 24:35Contract testing benefits
- 28:45Handling breaking changes
- 31:35Advantages of the approach
- 33:18When not to use this method
- 34:45Applying to unit tests
- 35:06Next steps and resources
- 39:46Q&A: Who writes the tests
- 40:28Q&A: Team responsibilities
