Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates Vitest, Pytest, and k6 API test suites from route source code or OpenAPI specs, plus contract drift checks.
50% 77%+27 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 11 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Scan API route definitions across frameworks (Next.js App Router, Express, FastAPI, Django REST, Go net/http), analyze request/response schemas, and generate comprehensive test suites covering authentication, authorization, input validation, error handling, pagination, file uploads, rate limiting, contract testing, and load testing. Outputs ready-to-run test files for Vitest+Supertest (Node), Pytest+httpx (Python), or k6 (load testing).
Before generating the suite, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--framework).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
The scripts read OpenAPI 3.x / Swagger 2.0 JSON specs. Auth, validation, Pact and k6 patterns for the parts the scripts do not generate are in the references.
# 1. Generate skeletons (pytest+httpx or vitest+supertest) into a scratch dir, then move what you keep
python scripts/test_generator.py assets/sample_openapi.json --framework vitest --output /tmp/api-tests
# 2. Measure coverage: endpoints called by a test, and endpoints whose tests assert on the body
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.