From 3fc42a104bc787027ac8e4308849ec58a76e1003 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 10:07:35 +0000 Subject: [PATCH] Add CLI config, bin scripts, CI workflow and types --- .testspecrc.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .testspecrc.json diff --git a/.testspecrc.json b/.testspecrc.json new file mode 100644 index 0000000..2cd5553 --- /dev/null +++ b/.testspecrc.json @@ -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 +}