Skip to main content

tdd-workflow

TDD London School workflow -- mock-first, outside-in test development

Ir a la instalación

Datos de origen

Repositorio
ruvnet/ruflo
Última actividad en el origen
17 de julio de 2026 a las 03:06
Idioma detectado de SKILL.md
inglés
Estrellas
73.010
Forks
8665

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
tdd-workflow
description
TDD London School workflow -- mock-first, outside-in test development
argument-hint
<module-path>
allowed-tools
Bash(npx * npm *) mcp__plugin_ruflo-core_ruflo__hooks_pre-task mcp__plugin_ruflo-core_ruflo__hooks_post-task Read Write Edit
Follow the TDD London School (mock-first) approach: 1. **Write the failing test first** -- define expected behavior with mocked dependencies 2. **Run the test** -- confirm it fails for the right reason 3. **Implement minimal code** -- make the test pass with the simplest solution 4. **Refactor** -- clean up while keeping tests green 5. **Repeat** -- add the next behavior Before starting: `mcp__plugin_ruflo-core_ruflo__hooks_pre-task({ description: "TDD: FEATURE_NAME" })` After completing: `mcp__plugin_ruflo-core_ruflo__hooks_post-task({ taskId: "tdd-FEATURE", success: true, storeResults: true })` Principles: - Mock external dependencies at boundaries - Test behavior, not implementation - One assertion per test when possible - Descriptive names: `should [behavior] when [condition]`
Ver en GitHub