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.

Datos de origen

Repositorio
ilude/dotfiles
Última actividad en el origen
7 de septiembre de 2026 a las 23:38
Idioma detectado de SKILL.md
inglés
Estrellas
4
Forks
1

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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.
Ver en GitHub