OpenAPI โ†’ pytest ยท $99 fixed

Your OpenAPI spec is lying. Find out where.

Send me your OpenAPI 3.x or Swagger 2.0 spec. Within 24 hours you get a runnable pytest contract suite, one test module per documented operation.

Order the suite โ€” $99

One-time payment through LemonSqueezy. After checkout I contact you at the order email to get the spec.

What is in the zip

How the spec gets caught lying

Documented behaviour becomes assertions. Point the suite at your API and every place where the spec and the server disagree turns into a failing test:

pip install pytest
ATG_BASE_URL=https://api.yourcompany.com \
ATG_API_TOKEN=... \
ATG_DRY_RUN=0 python3 -m pytest tests/ -q

Credentials come from environment variables. Nothing secret is written into the files.

See a real one before you pay

The generator ran on the public Swagger Petstore OpenAPI 3 spec: 19 operations, one test module each, plus the client and README. The full output is in the repo, so you can run it yourself:

git clone https://github.com/arsenhambardzumyan/openapi-pytest-suite
cd openapi-pytest-suite/example
pip install pytest
python3 -m pytest tests -q
# 19 passed, 9 skipped (dry run, no network)

Browse the example suite

Honest limits