Add CLI config, bin scripts, CI workflow and types
This commit is contained in:
32
.testspecrc.json
Normal file
32
.testspecrc.json
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/testspecrc",
|
||||||
|
"description": "TestSpec CLI configuration file",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"defaultFramework": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["jest", "pytest", "go"],
|
||||||
|
"description": "Default test framework to use when auto-detection fails"
|
||||||
|
},
|
||||||
|
"outputFormat": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["stdout", "file", "clipboard"],
|
||||||
|
"default": "stdout",
|
||||||
|
"description": "Default output format for generated tests"
|
||||||
|
},
|
||||||
|
"outputPath": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Default file path for output when format is 'file'"
|
||||||
|
},
|
||||||
|
"suggestEdgeCases": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Whether to suggest edge cases during generation"
|
||||||
|
},
|
||||||
|
"templates": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Custom template overrides"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user