Bun test runner
E626496
Bun test runner is a fast, modern JavaScript and TypeScript testing framework that’s part of the Bun runtime, designed to provide an efficient alternative to tools like Jest and Mocha.
Statements (55)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript testing framework
ⓘ
TypeScript testing framework ⓘ |
| alternativeTo |
Jasmine
NERFINISHED
ⓘ
Jest NERFINISHED ⓘ Mocha NERFINISHED ⓘ Vitest NERFINISHED ⓘ |
| compatibleWith | Node.js-style test code in many cases ⓘ |
| configurationMethod |
CLI flags
ⓘ
package.json fields ⓘ |
| designedFor |
fast test execution
ⓘ
high performance ⓘ low startup time ⓘ |
| developer | Oven ⓘ |
| invokedByCommand | bun test ⓘ |
| language |
JavaScript
NERFINISHED
ⓘ
TypeScript NERFINISHED ⓘ |
| partOf | Bun runtime NERFINISHED ⓘ |
| runsOn | Bun runtime only ⓘ |
| supportsAssertionStyle | expect-style assertions ⓘ |
| supportsFeature |
Bun-specific APIs
ⓘ
CLI test runner ⓘ CommonJS modules ⓘ ESM modules ⓘ JSON reporter ⓘ JUnit-style reporter NERFINISHED ⓘ TAP-style reporter ⓘ TypeScript without separate compilation step ⓘ afterAll hook ⓘ afterEach hook ⓘ beforeAll hook ⓘ beforeEach hook ⓘ code coverage via Istanbul-compatible tooling ⓘ concurrent tests ⓘ mocking ⓘ parallel test execution ⓘ snapshot serializers ⓘ snapshot testing ⓘ spies ⓘ test filtering ⓘ test hooks ⓘ test reporters ⓘ test retries ⓘ test suites ⓘ test timeouts ⓘ timers mocking ⓘ watch mode ⓘ |
| supportsFilePattern |
*.spec.js
ⓘ
*.spec.ts ⓘ *.test.js ⓘ *.test.ts ⓘ |
| supportsImportStyle |
ESM import syntax
ⓘ
require in CommonJS mode ⓘ |
| supportsTestStructure |
describe blocks
ⓘ
it blocks ⓘ test blocks ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.