Imported from JackSmack1971/degenexus (
.claude/skills/test/SKILL.md). Install upstream withnpx skills add JackSmack1971/degenexus --skill test. Copyright stays with the author.
Test Workflow
test-engineer is the canonical owner for DegenExus test authoring and coverage analysis. test-writer is a read-only deprecated alias and must not be routed for new work.
Required References
.claude/rules/synergy-contract.yml.claude/rules/evidence-schema.yml.claude/skills/test-regression/SKILL.md.claude/skills/fsv-verify/SKILL.md.claude/skills/edge-case-audit/SKILL.md
Steps
- Identify the source of truth and current test patterns.
- For bugs, write or describe the failing regression first and record
failing_before. - Use FSV-AAA where practical: PRE source-of-truth read, one ACT, POST reread, expected DIFF assertion.
- Cover boundary/equivalence classes: empty/zero, min/max boundary, malformed/adversarial input, and ordering/concurrency where applicable.
- Use
pytest-mock'smockerfixture; do not importunittest.mockdirectly. - Mock LLM providers, yfinance/network calls, time, and randomness.
- Run targeted pytest first, then broader regression tests when feasible.
- Emit
.claude/rules/evidence-schema.ymlfields withedge_cases,failing_before, andpassing_afterevidence when applicable.