- Home
- Capabilities
- Test Contract Testing
Contract Testing Between Services
Quick Reference
What & Why
Definition
>= 70% of service-to-service integrations use contract tests (Pact) to prevent breaking changes.
Business Value
Catches performance regressions 100% of the time before production and reduces visual bugs by 90% through automated regression testing Achieving >= 70% integrations have contract tests is a key milestone toward this goal.
Context
This capability is part of the Acceleration milestone's focus on scale automation, embed compliance, improve speed & reliability. Essential for teams targeting CFR, LT improvements.
Success Criteria
Target
>= 70% integrations have contract tests
Measurement
Contract test coverage across service pairs
Evidence
- Pact contract files
- Pact broker dashboard
- Contract verification results
In Practice
Real-World Implementation
Consumer services define expected API contracts, publish to Pact broker. Provider services verify contracts in CI before deployment.
Concrete Example
Implementation Guide
Implementation Steps
Follow the measurement approach: Contract test coverage across service pairs
For detailed step-by-step guidance, refer to the Advanced Testing & Performance Validation Implementation Kit.
Resources
Implementation Kit
Advanced Testing & Performance Validation KitTemplates
Browse all templatesRelated Resources
View learning pathsRelated Capabilities
Prerequisites
Implement these first
Complementary
Often adopted together, from the Advanced Testing & Performance Validation epic
Troubleshooting & FAQs
Common Issues
Issue: Target metric not improving
Solution: Verify measurement is accurate, check if prerequisites are fully implemented, review evidence artifacts for completeness
Issue: Team resistance to adoption
Solution: Start with pilot team, demonstrate value with metrics, provide training and support during transition
Issue: Inconsistent implementation across teams
Solution: Create shared templates and guidelines, establish regular sync meetings, use automation to enforce standards
Frequently Asked Questions
Can we implement this before completing prerequisites?
While possible, it's not recommended. Prerequisites ensure foundational practices are in place, making this capability more effective and easier to adopt.
How long does implementation typically take?
Most capabilities can be implemented within 90 days when tackled as part of the Acceleration milestone. Individual timelines vary based on team size and existing practices.