Initialize TDG configuration for the current project
Initializes Test-Driven Generation configuration by detecting project settings and creating a TDG.md file.
/plugin marketplace add chanwit/tdg/plugin install tdg@tdg-marketplaceInitialize Test-Driven Generation for this project.
First, check if a TDG.md file exists in the current directory.
IF TDG.md exists:
IF TDG.md does NOT exist:
TDG.md file with the following structure strictly:# TDG Configuration
## Project Information
- Language: [detected language]
- Framework: [detected framework if any]
- Test Framework: [detected test framework]
## Build Command
[detected or default build command]
## Test Command
[detected or default test command]
## Single Test Command
[detected or default test command to run a single unit test]
## Coverage Command
[detected or default test coverage command]
## Test File Patterns
- Test files: [pattern like *_test.go, test_*.py, *.test.js]
- Test directory: [e.g., tests/, __tests__/]
After creating the file:
If the user provided arguments ($ARGUMENTS), use them as hints for project detection or configuration.