generate_edge_tests
Generate defensive edge-case tests from source code, covering boundary conditions, exception handling, and high branch coverage for Python, TypeScript, and JavaScript.
Instructions
Synthesizes industrial-grade defensive unit tests with 96%+ branch coverage, boundary invariance, and exception handling for any source code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code snippet or function to test | |
| tier | No | Test synthesis tier: 'community' (free) or 'pro' (mutation fuzzing) | community |
| tx_hash | No | Optional Polygon or TRON transaction hash verifying 1 USDC/USDT fee for pro tier | |
| language | No | Programming language (python, typescript, javascript) | python |
| framework | No | Target test framework (pytest, jest, vitest) | pytest |