本文へ移動
cccskills
無料GitHub で公開

test:review

Review tests for quality - assertive checks, no hidden skips, proper coverage

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctlスター 303(GitHub 303 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Test Review

Review test quality to ensure tests actually catch failures.

When to Use

  • After writing new tests (before committing)
  • When reviewing a PR with test changes
  • When tests pass but behavior seems wrong
  • Periodic test suite health check

Anti-Patterns to Catch

Anti-PatternProblemFix
assert TrueAlways passes, tests nothingAssert specific values
@pytest.mark.skip without reasonHides failures silentlyAdd reason or remove
@pytest.mark.xfail without ticketAccepted failures without trackingLink to issue
try/except: pass in testSwallows errorsLet exceptions propagate
assert response is not NoneOnly checks existence, not correctnessAssert status code + content
assert len(items) > 0Doesn't verify contentAssert specific items or properties
Empty test bodyTest exists but does nothingImplement or delete
Hardcoded timeouts sleep(30)Flaky, slowUse wait_for / retry pattern

Review Checklist

  • Assertive: Every test asserts specific expected values
  • No silent skips: @skip has a reason and linked issue
  • No xfail without tracking: @xfail references a ticket
  • Error cases tested: Not just happy path
  • Deterministic: No flaky timing dependencies
  • Isolated: Tests don't depend on execution order
  • Named clearly: Test name describes what it verifies
  • Cleanup: Resources created in test are cleaned up

Review Command

Search for anti-patterns in test files:

grep -rn "assert True\|assert False\|@pytest.mark.skip\|@pytest.mark.xfail\|pass$" rossoctl/tests/

Search for weak assertions:

grep -rn "is not None\|!= None\|assert .*>" rossoctl/tests/ | grep -v "# ok"

Related Skills

  • test:write - Write new tests following standards
  • test:run-kind - Run tests on Kind
  • test:run-hypershift - Run tests on HyperShift
  • tdd:ci - TDD workflow that includes test review

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

auth

無料

Authentication and authorization patterns for Rossoctl services

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

ci

無料

CI pipeline monitoring, status checks, and PR validation workflows

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Monitor running CI jobs, wait for completion, create tasks for results

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

rossoctl のスキルをすべて見る

このスキルの問題を報告する