Skip to main content

testing

Unified testing commands and patterns across frontend and backend.

Zur Installation springen

Quellinformationen

Repository
hollandkevint/thinkhaven
Letzte Quellaktivität
1. März 2026 um 00:23
Erkannte Sprache von SKILL.md
Englisch
Sterne
5
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
3 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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" ```
Auf GitHub ansehen