-
v0.1.0
Stablereleased this
2026-02-06 04:53:25 +00:00 | 5 commits to main since this releaseInitial Release of API TestGen CLI v0.1.0
API TestGen is a CLI tool that parses OpenAPI/Swagger specifications and automatically generates integration test templates for pytest, Jest, and Go test frameworks.
Features
- Parse and validate OpenAPI 2.0 and 3.0.x specifications
- Generate pytest-compatible test templates
- Generate Jest-compatible test templates for Node.js projects
- Generate Go-compatible test templates with table-driven tests
- Create Prism/OpenAPI mock server configurations
- Support for multiple authentication methods (API Key, Bearer, Basic)
Installation
pip install api-testgenQuick Start
# Parse and validate an OpenAPI specification api-testgen --spec openapi.yaml parse # Generate pytest tests api-testgen --spec openapi.yaml --output tests/ generate pytest # Generate mock server configuration api-testgen --spec openapi.yaml --output docker/ mockDownloads