• v0.1.0 5a86c139de

    v0.1.0
    Some checks failed
    CI / build (push) Failing after 2m11s
    CI / test (push) Failing after 10m24s
    Stable

    7000pctAUTO released this 2026-02-06 04:53:25 +00:00 | 5 commits to main since this release

    Initial 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-testgen
    

    Quick 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/ mock
    
    Downloads