test_case_generator
Generate test cases for your code using specified programming languages and test frameworks to enhance code reliability and efficiency.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | 要测试的代码 | |
language | Yes | 编程语言 | |
test_framework | Yes | 测试框架(如Jest, Pytest, JUnit等) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"code": {
"description": "要测试的代码",
"type": "string"
},
"language": {
"description": "编程语言",
"type": "string"
},
"test_framework": {
"description": "测试框架(如Jest, Pytest, JUnit等)",
"type": "string"
}
},
"required": [
"language",
"code",
"test_framework"
],
"type": "object"
}