# Test

> Use EVERY TIME you need to run tests, verify tests pass, or check for regressions. ALWAYS use this instead of running eldev directly.

- Skill: `trevoke/test` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add trevoke/test`
- Raw SKILL.md: https://api.skillmd.com/api/skills/trevoke/test/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: trevoke (https://skillmd.com/u/trevoke)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/trevoke/test

---


# /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

```bash
.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`):
1. Grep for `deftest <name>` in `test/` to find the file
2. 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.

