generate_contract_tests
Generate comprehensive test suites for Clarity smart contracts including unit tests, integration tests, and security tests to ensure contract reliability and functionality.
Instructions
Generate comprehensive test suites for Clarity contracts including unit tests, integration tests, and security tests.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contractName | Yes | Name of the contract to generate tests for | |
scenarios | No | Specific test scenarios to include | |
testType | Yes | Type of tests to generate |
Input Schema (JSON Schema)
{
"properties": {
"contractName": {
"description": "Name of the contract to generate tests for",
"type": "string"
},
"scenarios": {
"description": "Specific test scenarios to include",
"items": {
"type": "string"
},
"type": "array"
},
"testType": {
"description": "Type of tests to generate",
"enum": [
"unit",
"integration",
"security"
],
"type": "string"
}
},
"required": [
"contractName",
"testType"
],
"type": "object"
}