/test — Run Tests with Clean Output
Run ./run-tests.sh (in this skill's directory) to execute tests. The script handles all noise filtering and outputs only a clean summary.
How to Run
.claude/skills/test/run-tests.sh [ARGUMENT]
Parse the ARGUMENTS line and pass it through:
Argument What it does
(none) / all
Full suite
test/unit/foo-test.el
Single file
unit / integration / acceptance
Category
Resolving test names
If the argument contains / but no .el (looks like a test name, e.g. stuck-sa-filter/cancelled-project-task-skipped ):
-
Grep for deftest <name> in test/ to find the file
-
Pass the file path to run-tests.sh
Output Format
The script returns one of:
Success: PASS: 1195 tests in 18.4s
Failure: Summary line + full failure/error details (test name, expected/actual, file:line)
Unexpected: Last 30 lines of raw output
Report the script output verbatim. Do not add commentary unless the user asks.