Skip to main content

testing

Guide test design when adding, changing, or reviewing tests, especially mock boundaries and test infrastructure. Not a requirement to audit existing tests or add a separate testing phase.

Quellinformationen

Repository
ilude/dotfiles
Letzte Quellaktivität
7. September 2026 um 23:38
Erkannte Sprache von SKILL.md
Englisch
Sterne
4
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
testing
description
Guide test design when adding, changing, or reviewing tests, especially mock boundaries and test infrastructure. Not a requirement to audit existing tests or add a separate testing phase.
# Testing - Prefer tests of observable behavior using existing test infrastructure. - Use mocks when real dependencies would be unsafe, nondeterministic, or impractical. Mocks are not inherently a problem. - Do not mock away the behavior under test. Assert internal call sequences only when those interactions are part of the required behavior. - Do not build abstractions or extensive fake infrastructure for speculative tests. - Choose tests for required behavior, demonstrated defects, and credible risks in the changed path. Do not expand coverage merely because another case can be imagined. - Passing mocked tests proves only what they exercise; do not present them as evidence that real integrations work.
Auf GitHub ansehen