jarle/bun-skills/bun-guides-test-run-tests
Claude Code and agent skill by jarle/bun-skills
- community
Checking that the SKILL.md file is still in the repository.
Run your tests with the Bun test runner
Install
npx vskill@latest install jarle/bun-skills/bun-guides-test-run-testsSKILL.md
The same SKILL.md was published earlier as jarle/bun-skills/bun-guides-test-run-tests.
Run your tests with the Bun test runner
Bun has a built-in test runner with a Jest-like expect API.
To use it, run the bun test command from your project directory. The test runner will recursively search for all files in the directory that match the following patterns and execute the tests they contain.
Here's what the output of a typical test run looks like. In this case, there are three tests files (test.test.js, test2.test.js, and test3.test.js) containing two tests each (add and multiply).
To only run certain test files, pass a positional argument to bun test. The runner will only execute files that contain that argument in their path.
All tests have a name, defined using the first parameter to the test function. Tests can also be grouped into suites with describe.
To filter which tests are executed by name, use the -t/--test-name-pattern flag.
Adding -t add will only run tests with "add" in the name. This works with test names defined with test or test suite names defined with describe.
See Docs > Test Runner for complete documentation on the test runner.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bun-guides-test-run-tests/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jarle/bun-skills/bun-guides-test-run-tests)