Back to list
bravellian

dotnet-test-triage

by bravellian

0🍴 0📅 Jan 26, 2026

SKILL.md


name: dotnet-test-triage description: Run dotnet test, capture failed test cases, and generate a rerun filter plus a markdown failure summary. Use when test runs fail and you need a focused rerun command or a compact failure report.

dotnet-test-triage

Run dotnet test, collect failed test cases, and write a compact failure report plus a rerun filter.

Outputs

  • artifacts/codex/test-failures.md
  • artifacts/codex/test-filter.txt

Run

bash .codex/skills/dotnet-test-triage/scripts/run-test-triage.sh
pwsh -File .codex/skills/dotnet-test-triage/scripts/run-test-triage.ps1

Optional: pass arguments through to dotnet test:

bash .codex/skills/dotnet-test-triage/scripts/run-test-triage.sh ./src/Incursa.slnx --no-restore
pwsh -File .codex/skills/dotnet-test-triage/scripts/run-test-triage.ps1 ./src/Incursa.slnx --no-restore

Optional: override the default command (useful for repo-specific defaults):

DOTNET_TEST_CMD="dotnet test ./src/Incursa.slnx --no-restore" \
  bash .codex/skills/dotnet-test-triage/scripts/run-test-triage.sh
$env:DOTNET_TEST_CMD = "dotnet test ./src/Incursa.slnx --no-restore"
pwsh -File .codex/skills/dotnet-test-triage/scripts/run-test-triage.ps1

Rerun recommendations

  • Basic rerun of failures:
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)"
  • More output:
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)" -v normal
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)" -v diag
  • Capture blame for crashes/hangs:
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)" --blame
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)" --blame-hang --blame-hang-timeout 10m
  • Disable parallelization if needed:
    • dotnet test --filter "$(cat artifacts/codex/test-filter.txt)" --no-parallel

Notes

  • The filter file is empty when no failing tests are detected.
  • The failure report contains the test name and a short error snippet from the TRX logs.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon