Skill / SKILL.md

Contract Testing

petrkindlmann/qa-skills

Implement consumer-driven contract testing with Pact-JS (v16). Covers consumer test writing, broker-driven provider verification, Pact Broker setup, can-i-deploy as a deployment gate, webhook-triggered verification, pending pacts, and schema-first vs consumer-first approaches (OpenAPI/Ajv, Schemathesis). Use when: "contract test," "Pact," "consumer-driven," "API contract," "provider verification," "can-i-deploy." Not for: stubbing or mocking a dependency to isolate a test — use service-virtualization; general REST/GraphQL endpoint assertions against your own API — use api-testing. Related: api-testing, service-virtualization, ci-cd-integration, test-environments.
3 views 311 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Implement consumer-driven contract testing with Pact-JS (v16). Covers consumer test writing, broker-driven provider verification, Pact Broker setup, can-i-deploy as a deployment gate, webhook-triggered verification, pending pacts, and schema-first vs consumer-first approaches (OpenAPI/Ajv, Schemathesis). Use when: "contract test," "Pact," "consumer-driven," "API contract," "provider verification," "can-i-deploy." Not for: stubbing or mocking a dependency to isolate a test — use service-virtualization; general REST/GraphQL endpoint assertions against your own API — use api-testing. Related: api-testing, service-virtualization, ci-cd-integration, test-environments.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/petrkindlmann/qa-skills' skill-source

Use the complete skill-source/skills/contract-testing directory with your client’s skill installer.

  • skills/contract-testing

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/contract-testing

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b9010f8e2e144850af953c348f3bde9099b6a122da9c43f948d354d62f7e4b8c
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills