Skip to main content
Version: v4.x.x

Comparing Test Runners

Test RunnerIsolationCJSESMnode_modulesSizeBunDeno
Jest (30.4.2)βœ…βœ…experimental293 packages~28MB❓❓
Vitest (4.1.6)βœ…βŒβœ…42 packages~24MB❓❓
AVA (8.0.0)βœ…βœ…βœ…140 packages~16MB❓❓
Mocha (11.7.5)βŒβœ…βœ…92 packages~9MB❓❓
uvu (0.5.6)βŒβœ…βœ…6 packages~558KB❓❓
🐷 Pokuβœ…βœ…βœ…1 package (poku)~198KBβœ…βœ…

Quick Comparisons​

Performance​

Poku is continuously tested to ensure the following average expectations for basic usage:

  • ~5.3x faster than Jest (v30.4.2)
  • ~4.5x faster than Vitest (v4.1.6)

Installation Size​

Install Size


TypeScript Comparison​

Comparison using TypeScript (no compile) and ESM to show a simple error test:

  • Let's starting from installation πŸ”¬

Poku​

Installation​

npm i -D poku tsx

Creating the test file​

test/index.test.ts

import { assert } from 'poku';

assert.deepStrictEqual('1', 1, 'Number should not be a text');

Running tests​

npx poku

That's it πŸŽ‰

tip

For simple tests, Poku doesn't need to use test, describe or it, since the message is already in the assert.

  • Poku's assert is just an abstraction from original assert from Node.js.
  • It means: No new learning is needed πŸŽ‰

Adopt a Poku for yourself 🩡