Skip to main content

testing

Unified testing commands and patterns across frontend and backend.

Ir a la instalación

Datos de origen

Repositorio
hollandkevint/thinkhaven
Última actividad en el origen
1 de marzo de 2026 a las 00:23
Idioma detectado de SKILL.md
inglés
Estrellas
5
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.

Explorador de archivos
3 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
testing
description
Unified testing commands and patterns across frontend and backend.
last_updated
2025-12-20T00:00:00.000Z
# Testing Skill ## Overview Guidance and templates for testing in thinkhavenn. Covers React Component testing (Vitest/RTL) and Backend testing (Python/Pytest). ## When To Use - **Writing new code**: Every new feature needs tests. - **Fixing bugs**: Create a reproduction test first. - **Refactoring**: Ensure green tests before and after. ## Instrumentation ```bash # Log usage when using this skill ./scripts/log-skill.sh "testing" "manual" "$$" ``` ## What do you want to do? 1. **Test React Components** → `workflows/run-frontend-tests.md` 2. **Test Backend/API** → `workflows/run-backend-tests.md` 3. **Write a New Test** → `templates/component-test.template.tsx` 4. **Fix Test Failures** → `references/vitest-patterns.md` ## Quick Commands ```bash # Frontend (Unit/Integration) npm test npm test -- -t "ComponentName" # Run specific test # Backend (API) pytest pytest -k "test_name" ```
Ver en GitHub