test_code
Automatically generates test cases for provided code, supporting custom test frameworks to ensure robust functionality and quality assurance.
Instructions
Generates tests for the given code.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Code to test | |
test_framework | No | Test framework to use |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Code to test",
"type": "string"
},
"test_framework": {
"default": "",
"description": "Test framework to use",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}