pytest-best-practices
✓高品質の pytest テストを作成するための専門家のガイダンス。テストの作成、フィクスチャの設定、パラメータ化、モック化、またはテスト コードのレビューを行うときに使用します。
SKILL.md
Provide pytest best practices and patterns for writing maintainable, efficient tests.
| @pytest.fixture | Setup/teardown, dependency injection | | @pytest.mark.parametrize | Run test with multiple inputs | | @pytest.mark.skip | Skip test temporarily | | @pytest.mark.xfail | Expected failure (known bug) | | pytest.raises(Exception) | Test exception raising | | pytest.approx(value) | Float comparison | | mocker.patch() | Mock dependencies |
| Setting up fixtures, scopes, factories | references/fixtures.md | | Parametrizing tests, multiple inputs | references/parametrization.md | | Mocking, patching, faking dependencies | references/mocking.md | | Markers, exceptions, assertions, async | references/patterns.md |
高品質の pytest テストを作成するための専門家のガイダンス。テストの作成、フィクスチャの設定、パラメータ化、モック化、またはテスト コードのレビューを行うときに使用します。 ソース: cfircoo/claude-code-toolkit。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/cfircoo/claude-code-toolkit --skill pytest-best-practices- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
pytest-best-practices とは?
高品質の pytest テストを作成するための専門家のガイダンス。テストの作成、フィクスチャの設定、パラメータ化、モック化、またはテスト コードのレビューを行うときに使用します。 ソース: cfircoo/claude-code-toolkit。
pytest-best-practices のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cfircoo/claude-code-toolkit --skill pytest-best-practices インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/cfircoo/claude-code-toolkit
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01