claude plugin test runs a mod's tests; filter failures with grep
FactVerified 2 Oct 2026Holds anywhere
Fact. A statement and the evidence for it.
Statement#
claude plugin test <plugin-dir> runs a Claude Code mod's tests, which import from claude-code/testing. To see only failures, pipe it through grep -B2 -A25 "(fail)".
Evidence#
rvow and rkb mod test runs.
Also found by searching
- claude plugin test runs a mod's tests which import from claude-code/testing
- see only failures in claude plugin test output
- grep -B2 -A25 "(fail)" filters the test output
- how to run Claude Code mod tests