Test Optimization Patterns
Description
--- description: テスト実行速度を改善するためのリファクタリングパターンとベストプラクティス集 --- # テスト最適化パターン集 テスト実行速度を改善するためのリファクタリングパターンとベストプラクティスをまとめたドキュメントです。 ## パターン一覧 | パターン | 効果 | 難易度 | リスク | |---------|------|--------|--------| | 1. データベーストランザクション | ★★★★★ | 低 | 低 | | 2. ファイルI/Oのモック化 | ★★★★★ | 低 | 低 | | 3. 外部APIのモック化 | ★★★★★ | 中 | 低 | | 4. beforeEach → beforeAll | ★★★☆☆ | 低 | 中 | | 5. 非同期待機の最適化 | ★★★☆☆ | 中 | 低 | | 6. テストデータファクトリー | ★★☆☆☆ | 中 | 低 | | 7. テストの粒度見直し | ★★★☆☆ | 高 | 中 | | 8. 並列実行可能な設計 | ★★★☆☆ | 中 | 中 | --- ##
Installation
Installs to ~/.claude/skills/classmethod-tsumiki-test-optimization-patterns/SKILL.md
mkdir -p ~/.claude/skills/classmethod-tsumiki-test-optimization-patterns && curl -fsSL https://raw.githubusercontent.com/classmethod/tsumiki/HEAD/commands/test-optimization-patterns.md -o ~/.claude/skills/classmethod-tsumiki-test-optimization-patterns/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing