Agent Skills: /bun:test

Run tests with Bun test runner

UncategorizedID: laurigates/claude-plugins/bun-test

Install this agent skill to your local

pnpm dlx add-skill https://github.com/laurigates/claude-plugins/tree/HEAD/typescript-plugin/skills/bun-test

Skill Files

Browse the full folder contents for bun-test.

Download Skill

Loading file tree…

typescript-plugin/skills/bun-test/SKILL.md

Skill Metadata

Name
bun-test
Description
Run tests with Bun test runner

/bun:test

Run tests using Bun's built-in test runner with optimized output.

Parameters

  • pattern (optional): Test file or name pattern
  • --coverage: Enable code coverage reporting
  • --bail: Stop on first failure
  • --watch: Watch mode for development

Execution

Quick feedback (default for agentic use):

bun test --dots --bail=1 $PATTERN

With coverage:

bun test --dots --coverage $PATTERN

Watch mode:

bun test --watch $PATTERN

CI mode (JUnit output):

bun test --reporter=junit --reporter-outfile=junit.xml $PATTERN

Output Interpretation

| Symbol | Meaning | |--------|---------| | . | Test passed | | F | Test failed | | S | Test skipped |

Post-test

  1. Report pass/fail summary
  2. If failures: show first failure details
  3. If coverage enabled: report coverage percentage