Generate Coverage

The fastest path from a spec to running tests. This tool is destructive and open-world - it writes directly to the target project. Review generated test cases before running or committing them to version control.

generate_test_cases_for_api WRITE

Generates test cases from an API specification provided as inline content, a file path, or a URL. Produces one test case per resource, with a REST request step for each method. Each generated step asserts HTTP response code, Swagger compliance, and response SLA. Can create the target project automatically if it does not already exist.

Key parameters:

  • api_source* - optional: api_type, project.path, create_if_missing

Try asking your AI client: "Generate test cases for this OpenAPI spec and add them to the Billing project."

See Also

Publication date: