Add CLI config, bin scripts, CI workflow and types

This commit is contained in:
2026-01-29 10:07:35 +00:00
parent d16f807e2b
commit 3fc42a104b

32
.testspecrc.json Normal file
View 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
}