Contract Test Generator

ПродвинутыйtestingМинимальный контекст: 32K

Generates consumer-driven contract tests between services so that API providers and consumers stay compatible as they evolve independently. Produces Pact-style contracts, provider verification stubs, and CI wiring, and flags breaking changes before they reach production.

Варианты использования

  • Creating consumer-driven contracts between two services
  • Generating provider verification tests from a contract
  • Detecting breaking API changes in CI
  • Migrating brittle end-to-end tests toward contract tests

Пример промпта

Here is a consumer that calls our /orders API and the provider's OpenAPI spec. Generate a
consumer-driven Pact contract, the matching provider verification test, and a CI step that fails
the build when the provider breaks the contract.

```
[paste consumer client code + OpenAPI spec]
```

Рекомендуемые модели

Совместимые инструменты

claude-codecursorkiroany

Модальности

Вход: code, text
Выход: code, text

Похожие Skills

Автор

OpenModels Community

@openmodelsrun