bun-test

v2026.09.24

Bun test runner with compact agent-friendly output. Use when running bun tests, targeting a pattern, collecting --coverage, watching, or emitting JUnit XML for CI.

GitHub
安装命令
npx skhub add laurigates/bun-test
Markdown
SKILL.md

/bun:test

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

When to Use This Skill

ScenarioUse this skillAlternative
Quickly running tests with compact outputYesN/A
Running a specific test file or patternYesN/A
Running tests with coverageYesN/A
Configuring test runner options in detailNo - use bun-developmentFull test configuration guidance
Debugging failing tests interactivelyNo - use typescript-debuggingInspector-based debugging

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

Filter by test name (not file path):

bun test --dots --bail=1 -t "pattern"

Watch mode:

bun test --watch $PATTERN

CI mode (JUnit output):

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

Output Interpretation

SymbolMeaning
.Test passed
FTest failed
STest skipped

Post-test

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

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

typescript-plugin/skills/bun-test

默认分支

main

最新提交

1668324

Tree SHA

b2d4cc3