generate_tests
Generate saveable test suites (unit, integration, performance) from a specification or existing code, returning structured file content without writing to disk.
Instructions
Generate a full, saveable test-suite (unit/integration/performance) as file(s) from a specification or existing code — distinct from write_tests, which returns inline review-style test code. Returns structured, saveable file content — never writes to disk itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Code to test or specification of behavior to cover | |
| model | No | Model to use (default: deepseek-chat) | |
| provider | No | AI Provider | |
| framework | No | Test framework (e.g. Jest, Vitest, JUnit, xUnit, PyTest) | |
| test_scope | No | Scope of tests (e.g. Unit, Integration, Performance, or combination) | |
| target_folder | No | Target folder for the generated test file(s) | |
| project_context | No | Existing project conventions the tests must match | |
| naming_convention | No | Test file/naming convention |