·pytest-coder
</>

pytest-coder

フィクスチャ、パラメータ化、モック、非同期テスト、最新のパターンを使用して pytest テストを作成します。 Python テスト ファイルを作成または更新するときに使用します。単体テスト用ではありません。代わりに標準ライブラリ パターンを使用してください。

23インストール·1トレンド·@majesticlabs-dev

インストール

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder

pytest-coder のインストール方法

コマンドラインで pytest-coder AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: majesticlabs-dev/majestic-marketplace。

| AAA Pattern | Arrange-Act-Assert for every test | | Behavior over Implementation | Test what code does, not how | | Isolation | Tests must be independent | | Fast Tests | Mock I/O, minimize database hits | | Descriptive Names | Test name explains the scenario | | Coverage | Test happy paths AND edge cases |

| function | Per test (default) | Most fixtures | | class | Per test class | Shared setup within class | | module | Per module | Expensive setup shared by module | | session | Entire test run | Database connections, servers |

| Tests depend on order | Flaky, hard to debug | Use fixtures, isolate | | Testing implementation | Brittle tests | Test behavior | | Too many assertions | Hard to identify failure | One assertion per test | | No error case tests | Missing coverage | Test exceptions explicitly | | Slow unit tests | Slow feedback | Mock I/O, use in-memory DB |

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-23
更新日
2026-03-10

Browse more skills from majesticlabs-dev/majestic-marketplace

クイックアンサー

pytest-coder とは?

フィクスチャ、パラメータ化、モック、非同期テスト、最新のパターンを使用して pytest テストを作成します。 Python テスト ファイルを作成または更新するときに使用します。単体テスト用ではありません。代わりに標準ライブラリ パターンを使用してください。 ソース: majesticlabs-dev/majestic-marketplace。

pytest-coder のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/majesticlabs-dev/majestic-marketplace