BETA

API Quality & Schema Engineering · Executed Before Delivery

Turn any OpenAPI 3.1 or JSON Schema spec into a runnable, already-tested suite.

Hand TESI an OpenAPI YAML or JSON Schema over MCP or CLI. TESI generates positive, negative, boundary, and 409 idempotency test cases, executes them on its isolated Linux VM until they pass, and returns clean path=... files from $10 USD.

1. Generate & extract executed contract tests in 2 commands

python3 -I tesi-receipt.py --file contract-work.json --pack-project ./api-spec \
  --prompt "From openapi.yaml, build tests/test_contracts.py covering valid payloads, missing required fields (400), out-of-range integers, and duplicate idempotency keys (409). Run against a local reference harness and return path=... files."
python3 -I tesi-receipt.py --key-file ./tesi-purchase/key.json --file contract-work.json --submit --no-checkout --wait 120 --reply-file contract-reply.md
python3 -I tesi-receipt.py --extract-files ./generated-tests --reply-file contract-reply.md
Sample fixture JSON →

Questions

Contract test generation FAQ.

Why generate contract tests on TESI Work instead of using a plain LLM completion?

Plain LLM test generation frequently produces broken imports, invalid fixture shapes, or assertions that fail on first run. TESI Work spins up a local reference mock or runs against your public staging URL on an isolated Linux VM, executes every positive and negative boundary test, and returns only passing path=... test files.

How do we extract the generated test files safely onto disk?

Pass extractFilesTo in MCP tesi_work or run tesi-receipt.py --extract-files ./tests --reply-file reply.md to verify replySha256 and write mode-0600 files plus TESI-DELIVERY-MANIFEST.json.

What does contract test generation cost?

Prepaid packs start at $10 USD one-time with zero monthly subscription, metered strictly at published TESI token rates.

Ship tested APIs