Testing Strategy for a Distributed System: Unit, Integration, and Contract Tests
Unit tests give fast feedback. Integration tests give confidence. Contract tests catch the API drift between services that integration tests miss until staging. All three are necessary.
Unit tests give fast feedback. Integration tests give confidence. Contract tests catch the API drift between services that integration tests miss until staging. All three are necessary.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- testing
- contract-tests
- distributed-systems
- ci
- integration-testing
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.