Agent skill

contract-test-v2

Generate API contract tests with Pact V4

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/contract-test-v2

SKILL.md

Contract Testing with Pact V4

Generate consumer-driven contract tests between microservices.

Consumer Side (.NET)

bash
dotnet add package PactNet

Generate consumer test that defines expectations, then publish pact to broker.

Provider Side (.NET)

bash
dotnet add package PactNet.Verifier

Verify provider against published pact contracts.

CI Integration

Run consumer tests first, publish pacts, then verify providers.

Arguments

  • <consumer>: Consumer service name
  • <provider>: Provider service name
  • --broker-url=<url>: Pact Broker URL

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results