II.
LibraryProcess overview
Reference · livelib-process:qa-testing-automation--contract-testing
contract-testing overview
Contract Testing Implementation - Consumer-driven contract testing to enable independent service deployment while maintaining integration confidence between microservices. Implements Pact-based contract testing with provider verification, contract broker setup, and CI/CD integration for both consumer and provider sides.
Attributes
displayName
contract-testing
description
Contract Testing Implementation - Consumer-driven contract testing to enable independent service
deployment while maintaining integration confidence between microservices. Implements Pact-based contract testing
with provider verification, contract broker setup, and CI/CD integration for both consumer and provider sides.
libraryPath
library/specializations/qa-testing-automation/contract-testing.js
specialization
qa-testing-automation
references
- - Pact Documentation: https://docs.pact.io/ - Consumer-Driven Contracts: https://martinfowler.com/articles/consumerDrivenContracts.html - Microservices Testing: https://martinfowler.com/articles/microservice-testing/ - Contract Testing Best Practices: https://pactflow.io/blog/contract-testing-best-practices/ - Spring Cloud Contract: https://spring.io/projects/spring-cloud-contract - Pact Broker: https://github.com/pact-foundation/pact_broker
example
const result = await orchestrate('specializations/qa-testing-automation/contract-testing', {
projectName: 'E-commerce Microservices',
services: [
{ name: 'order-service', type: 'consumer', dependencies: ['inventory-service', 'payment-service'] },
{ name: 'inventory-service', type: 'provider', consumers: ['order-service', 'warehouse-service'] },
{ name: 'payment-service', type: 'provider', consumers: ['order-service'] }
],
contractTool: 'pact',
architecture: 'microservices',
acceptanceCriteria: { contractCoverage: 100, providerVerificationRate: 95, breakingChangeDetection: true }
});
usesAgents
- api-testing-expert
Outgoing edges
lib_applies_to_domain1
- domain:software-engineering·DomainSoftware Engineering
lib_belongs_to_specialization1
- specialization:qa-testing-automation·Specialization
lib_covers_topic1
- topic:test-driven-development·TopicTest-Driven Development
lib_implements_workflow1
- workflow:feature-development·Workflow
lib_involves_role2
- role:qa-engineer·RoleQA Engineer
- role:backend-engineer·RoleBackend Engineer
lib_requires_skill_area2
- skill-area:contract-testing·SkillAreaContract Testing
- skill-area:api-contract-testing·SkillAreaAPI Contract Testing
uses_agent1
- lib-agent:qa-testing-automation--api-testing-expert·LibraryAgentAPI Testing Expert
Incoming edges
None.