Skip to content

Contract testing seeds

Full workflow

Complete guide (limitations, CI, published lens): contract-testing-seeds

Why use CCE

Contract and integration tests need to know which external APIs the service actually calls — not every endpoint in an OpenAPI spec. Blindly testing all operations wastes CI time; missing real call sites leaves gaps.

CCE seeds contract test suites with the exact provider/resource/operation tuples (and file context) observed in production code.

Example command

cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/contract-testing-seeds/latest/contract-testing-seeds_lenses.yaml -filter all -format json -output contract-testing-seeds.json

Published lens

https://releases.stackgen.com/cce/lenses/contract-testing-seeds/latest/contract-testing-seeds_lenses.yaml