storkit: done 372_story_scaffold_auto_detects_tech_stack_and_configures_script_test
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: "Scaffold auto-detects tech stack and configures script/test"
|
||||
---
|
||||
|
||||
# Story 372: Scaffold auto-detects tech stack and configures script/test
|
||||
|
||||
## User Story
|
||||
|
||||
As a user setting up a new project with storkit, I want the scaffold to detect my project's tech stack and generate a working `script/test` automatically, so that agents can run tests immediately without manual configuration.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Scaffold detects Go projects (go.mod) and adds `go test ./...` to script/test
|
||||
- [ ] Scaffold detects Node.js projects (package.json) and adds `npm test` to script/test
|
||||
- [ ] Scaffold detects Rust projects (Cargo.toml) and adds `cargo test` to script/test
|
||||
- [ ] Scaffold detects Python projects (pyproject.toml or requirements.txt) and adds `pytest` to script/test
|
||||
- [ ] Scaffold handles multi-stack projects (e.g. Go + Next.js) by combining the relevant test commands
|
||||
- [ ] project.toml component entries are generated to match detected tech stack
|
||||
- [ ] Falls back to the generic 'No tests configured' stub if no known stack is detected
|
||||
- [ ] Coder agent prompt includes instruction to configure `script/test` for the project's test framework if it still contains the generic stub
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user