Rechercher

PythonReactSEOPDF
GitHub Skill

test-runner

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

gebadev☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

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を修正したので、テストを実行してください」)

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

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