Skip to main content

testing

Unified testing commands and patterns across frontend and backend.

インストールへ移動

ソース情報

リポジトリ
hollandkevint/thinkhaven
ソースの最終更新活動
2026年3月1日 00:23
検出された SKILL.md の言語
英語
スター
5
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
3 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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" ```
GitHubで見る