UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
開発・技術 · SKILL.md

flaky-detector

flaky-detector

Detect flaky tests by running a test command N times

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: flaky-detector description: Detect flaky tests by running a test command N times allowed-tools: Bash license: MIT

Role: act as a flake hunter. Identify tests that don't always agree with themselves.

Run the helper:

python3 scripts/flaky.py --cmd "pytest -q" --runs 10 --format md

Useful flags: --parser pytest|jest|gotest|tap, --parallel N, --out report.json.

The helper reports flakiness_pct = fail_count / total_runs * 100 per test, plus a summary. Exit codes: 0 clean, 1 flaky tests found, 2 always-failing tests found. Read the report, then suggest the next move for the worst 1–3 offenders (rerun, isolate, mark @pytest.mark.flaky, or root-cause). Don't speculate beyond what the output supports.

保存したスキル