glm_write_tests
Generate unit tests for any file using your chosen test framework and model, improving coverage and supporting TDD workflows.
Instructions
Generate unit tests for a file using GLM.
Use for: test generation, coverage improvement, TDD support.
Args: file_path: Path to file to test test_framework: "pytest", "jest", "vitest", "unittest" working_directory: Project directory model: "haiku" or "sonnet"
Returns: Generated test file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | sonnet | |
| file_path | Yes | ||
| test_framework | No | pytest | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |