Bun Code Coverage
Learn how to use Bun's built-in code coverage reporting to track test coverage and find untested areas in your codebase
Install
npx skills add jarle/bun-skills --skill Bun Code coveragegit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-test-code-coverage ~/.claude/skills/Bun-Code-coveragePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Code coverage
> Learn how to use Bun's built-in code coverage reporting to track test coverage and find untested areas in your codebase
Bun's test runner now supports built-in code coverage reporting. This makes it easy to see how much of the codebase is covered by tests, and find areas that are not currently well-tested.
## Enabling Coverage
`bun:test` supports seeing which lines of code are covered by tests. To use this feature, pass `--coverage` to the CLI. It will print out a coverage report to the console:
```bash terminal icon="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
bun test --coverage
-------------|---------|---------|-------------------
File | % Funcs | % Lines | Uncovered Line #s
-------------|---------|---------|-------------------
All files | 38.89 | 42.11 |
index-0.ts | 33.33 | 36.84 | 10-15,19-24
index-1.ts | 33.33 | 36.84 | 10-15,19-24
index-10.ts | 33.33 | 36.84 | 10-15,19-24
index-2.ts | 33.33 | 36.84 | 10-15,19-24
index-3.ts | 33.33 | 36.84 | 10-15,19-24
index-4.ts | 33.33 | 36.84 | 10-15,19-24
index-5.ts | 33.33 | 36.84 | 10-15,19-24
index-6.ts | 33.33 | 36.84 | 10-15,19-24
index-7.ts | 33.33 | 36.84 | 10-15,19-24
index-8.ts | 33.33 | 36.84 | 10-15,19-24
index-9.ts | 33.33 | 36.84 | 10-15,19-24
index.ts | 100.00 | 100.00 |
-------------|---------|---------|-------------------
```
### Enable by DefaultDetails
- Skill name
Bun Code coverage- Repository
- jarle/bun-skills
- Path
skills/bun-test-code-coverage/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Code Coverage skill do?
Learn how to use Bun's built-in code coverage reporting to track test coverage and find untested areas in your codebase
How do I install the Bun Code Coverage skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Code coverage. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Code Coverage popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Codesign a Single File JavaScript Executable on macOS
9jarle/bun-skills
Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.
Bun C Compiler
9jarle/bun-skills
Compile and run C from JavaScript with low overhead
Bun Cookies
9jarle/bun-skills
Work with cookies in HTTP requests and responses using Bun's built-in Cookie API.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.