Skip to main content

testing

Unified testing commands and patterns across frontend and backend.

Jump to install

Source facts

Repository
hollandkevint/thinkhaven
Last source activity
March 1, 2026 at 00:23
Detected SKILL.md language
English
Stars
5
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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" ```
View on GitHub