โ Back to Roadmap
โ
Master Level
Contract Testing
Complete Beginner โ Advanced Syllabus (Pin-to-Pin)
๐ข LEVEL 1 โ Foundations
1. Introduction to Contract Testing
- What is contract testing
- Purpose: verify API contracts between services
- Consumer and provider perspective
- Preventing integration breakage
- Independent deployment enablement
2. Contract Basics
- Consumer expectations
- Provider capabilities
- Contract validation
- Contract registry
๐ข LEVEL 2 โ Pact Framework
3. Growing Pacts
- Writing consumer tests
- Mock service setup
- Interaction definition
- Pact generation
4. Provider Verification
- Provider test setup
- Pact verification
- Provider fulfillment
- Verification results
๐ก LEVEL 3 โ Request/Response Contracts
5. HTTP Contract Testing
- HTTP interactions
- Request expectations
- Response validation
- Status code contracts
6. Message Contracts
- Event-based contracts
- Message structure
- Publisher/consumer testing
- Async contract testing
๐ก LEVEL 4 โ Contract Matchers
7. Flexible Matchers
- Type matchers
- Regex matchers
- Date/time matchers
- Custom matchers
8. Avoiding Over-Specification
- Brittle tests
- Flexible contracts
- Matching strategies
๐ LEVEL 5 โ Contract Registry
9. Pact Broker
- Pact broker setup
- Publishing pacts
- Retrieving pacts
- Can I deploy checks
10. Contract Management
- Version management
- Contract evolution
- Breaking change detection
- Deprecation handling
๐ LEVEL 6 โ Multi-Service Scenarios
11. Multiple Consumers
- Handling multiple clients
- Consumer variations
- Diverging contracts
- Provider flexibility
12. Dependency Chains
- Transitive dependencies
- Contract chains
- Deployment ordering
- Compatibility matrix
๐ต LEVEL 7 โ CI/CD Integration
13. Pipeline Integration
- Contract testing in CI
- Contract verification gates
- Deployment prevention
- Can I deploy
14. Continuous Deployment
- Independent deployment
- Backward compatibility
- Feature toggles for contracts
- Safe deployments
๐ด LEVEL 8 โ Advanced Scenarios
15. GraphQL Contracts
- Query contracts
- Mutation contracts
- Schema validation
- Field contracts
16. Async Messaging
- Message broker contracts
- Event schema contracts
- Topic subscriptions
๐ด LEVEL 9 โ Governance & Culture
17. Contract Governance
- Contract standards
- Breaking change policy
- Deprecation timeline
- Version support
18. Team Adoption
- Contract-first design
- Team collaboration
- Training & adoption
- Tool integration
โญ Senior Frontend Focus (Must Master)
- Frontend-API contract testing
- Component prop contracts
- API response contracts
- Error response contracts
- Pagination contract test
- Authentication token contracts
- Real-time WebSocket message contracts