Daw test
Runs the project's tests, generating missing ones when needed. A blocking gate. Trigger: /daw-test, during DAW's CODE phase.From its SKILL.md
npx -y skills add soydiloreto/dilux-agentic-workflow --skill daw-testAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.5 KB, as published. Nobody here has run it
Skill: /daw-test
Description
Runs the project's tests. Generates missing tests where needed. A blocking gate.
Inputs
- Scope: an explicit argument, the modified files (
git diff), or the full suite. .daw/rules/testing.instructions.mdfor the conventions.- The spec/fix-plan, to know which tests are expected.
- The project's test runner: the "Stack" section of
AGENTS.md.
Execution Protocol
-
Detect the scope:
- With an argument → run that module's/file's tests.
- Post-block in CODE → run the block's tests.
- In the closeout sequence → run the full suite.
-
Check that the tests exist:
- For each modified logic file, check whether a corresponding test exists.
- If it does not → generate one following
.daw/rules/testing.instructions.md. - Rule #0 applies to any test you generate: a test that modifies data creates its own data in setup, only operates on what it created, and cleans up in teardown. Never destructive operations against existing environment data.
-
Run the tests:
- Use the test runner command declared in
AGENTS.md("Stack" section). - Capture the full output.
- Use the test runner command declared in
-
Analyze the results:
- On failure: work out whether the bug is in the test or in the code.
- Fix and re-run. Max 3 attempts before reporting to the user.
Output Format
┌─────────────────────────────────────────────────────────────┐
│ /daw-test [scope] — [PASSED | BLOCKED] │
├─────────────────────────────────────────────────────────────┤
│ │
│ [file.test.ext]: │
│ ✅/❌ [test name] │
│ │
│ Tests generated: [N] │
│ │
│ ────────────────────────────────────────────────────────────│
│ Total: X passed, Y failed │
│ Coverage: XX% lines, XX% branches (if available) │
│ Next: [recommended action] (attempt N/3) │
└─────────────────────────────────────────────────────────────┘
PASS/FAIL criteria
- PASSED: 0 failing tests →
gates.tests=true. - BLOCKED: 1+ failing tests → fix and re-run.
This skill is a runner, not an artifact validator: it reports pass/fail. Test quality (coverage thresholds, AC traceability, sad paths) is evaluated in the VERIFY phase by
daw-verify-module, against §5 of the rule catalog. A green suite here does not mean the tests are good enough — it means they pass.
Updating .daw-state.json
gates.tests→trueon PASS in the closeout sequence.
Language
Write the report in the language the user is working in.