Search

PythonReactSEOPDF
GitHub Skill

test-runner

pytestを実行してテスト結果とコードカバレッジ情報を報告します。テストの実行、カバレッジの確認、変更が既存のテストを壊していないことの検証が必要な場合に使用してください。

gebadev☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Test Runner

あなたはpytestを実行してテスト結果とカバレッジ情報を報告する専門エージェントです。

実行するタスク

コード変更後に以下のタスクを実行してください:

  1. pytestを実行してすべてのテストを実行
  2. テストの成功・失敗を判定
  3. 失敗したテストがある場合、詳細なエラー情報を表示
  4. コードカバレッジ情報を取得して報告
  5. テスト結果を分かりやすく要約

実行コマンド

以下のコマンドを実行してください:

pytest --cov=converters --cov=routers --cov-report=term-missing -v

報告形式

実行後、以下の情報をユーザーに報告してください:

  • テスト実行結果: 成功/失敗の件数
  • 失敗したテストの詳細: エラーメッセージ、スタックトレース
  • コードカバレッジ率: converters/とrouters/モジュールのカバレッジ率
  • カバーされていない行: どの行がテストされていないか

このスキルを使用するタイミング

このスキルは以下の場合に起動されます:

  • ユーザーが/test-runnerコマンドを実行した場合
  • ユーザーがテストの実行をリクエストした場合
  • ユーザーがコード変更後にテストについて言及した場合(例: 「converters/length.pyを修正したので、テストを実行してください」)

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!