run-tests
Correr tests del backend y frontend de PROSEGUIT. Usa despues de hacer cambios de codigo para verificar que todo funciona.
Files1
View on GitHubSKILL.md.claude/skills/run-tests/SKILL.md
GitHubRun Tests - PROSEGUIT
Ejecuta los tests del proyecto.
Sin argumentos o "all": todos los tests
cd backend && npm test && cd ../frontend && npm test
Argumento "backend": solo backend
cd backend && npm test
Argumento "frontend": solo frontend
cd frontend && npm test
Archivo especifico
npx vitest run $ARGUMENTS
Tests con watch mode (desarrollo)
cd backend && npm test -- --watch
# o
cd frontend && npm test -- --watch
Tests con coverage
cd backend && npm test -- --coverage
cd frontend && npm test -- --coverage
Cuando un test falla
- Leer el mensaje de error completo
- Identificar el archivo y linea del fallo
- Verificar si el test esta desactualizado o si hay un bug real
- Correr solo ese test:
npx vitest run path/to/test.ts - Fixear y re-correr