Skip to main content

testing

Unified testing commands and patterns across frontend and backend.

Ir para a instalação

Informações da origem

Repositório
hollandkevint/thinkhaven
Última atividade na origem
1 de março de 2026 às 00:23
Idioma detectado do SKILL.md
inglês
Estrelas
5
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
3 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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 no GitHub