write_tests
Generate tests for your code covering both the golden path and realistic edge cases. Specify the code or file path, and optionally choose a testing framework.
Instructions
Write tests covering the golden path and realistic edge cases for given code.
Provide exactly one of code or file_path. Set framework (e.g.
"pytest", "jest") to match your project's conventions; otherwise the
model infers one from the code's language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| think | No | ||
| file_path | No | ||
| framework | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |