Write focused tests
Skill swd3k/skills/agent-skills/programming/write-focused-tests
Write high-value unit and integration tests without brittle UI snapshots. Use when adding coverage, fixing regressions, or deciding what not to test.From its SKILL.md
npx -y skills add swd3k/skills --skill write-focused-testsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 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
0.8 KB, 155 tokens by cl100k_base, as published. Nobody here has run it
Focused Tests
What to test first
- Pure domain rules and parsers
- File/network adapters with temp dirs / handlers
- Regression cases that already burned you
What to skip early
- Exact pixel UI
- Third-party SDK internals
- Framework boilerplate
Patterns
- Arrange–Act–Assert
- One logical assert theme per test
- Name:
Method_Scenario_Expected - Deterministic: no wall-clock flakiness without fakes
Desktop
- Core tests on Linux CI
- Windows-only tests gated with traits /
windows-latestjob
Acceptance
dotnet testgreen locally and in CI- New bug → new test when feasible
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.