Contract Test Creator

Generates consumer-driven contract tests (Pact-style) verifying a consumer and provider agree on an interaction shape. Detects the repo's Pact tooling (pact-js, pact-python, Pact JVM, pact-go, Ruby pact) and whether a Pact Broker is configured, then writes either a consumer test (records expectations, produces a pact file) or a provider verification test (replays existing pact files against the real provider) for changed code (diff mode) or an existing coverage gap (backfill mode). Every interaction shape traces to real, observed usage — never a fabricated request/response. Keywords: contract tests, Pact, consumer-driven contract, provider verification, pact broker. Not for a real live integration test against a running dependency (integration-test-creator) or isolated mocked unit tests (unit-test-creator).

luckyrjain d693948 29 files · 98.5 KB Updated

File contents

luckyrjain/software-builder/tree/main/skills/contract-test-creator commit d6939486e5

Frequently asked questions

npx skillmds@latest add luckyrjain/contract-test-creator