Poku

A cross-platform test runner that brings the JavaScript essence back to tes...

README

Poku's Logo

Poku


Enjoying Poku? Give him a star to show your support 🌟

Why does Poku exist?


💡 Poku is a cross-platform test runner that brings the [JavaScript essence back to testing](https://poku.io/docs/philosophy#javascript-essence-for-tests-).

Quickstart


check Install

  1. ```bash
  2. # Node.js
  3. npm i -D poku
  4. ```

  1. ```bash
  2. # TypeScript (Node.js)
  3. npm i -D poku tsx
  4. ```

  1. ```bash
  2. # Bun
  3. bun add -d poku
  4. ```

  1. ```bash
  2. # Deno (optional)
  3. deno add npm:poku
  4. ```

Documentation and Examples


To see the detailed documentation, please visit the [Documentation](https://poku.io/docs/category/documentation) and [Examples](https://poku.io/docs/category/examples) sections in the [Poku's website](https://poku.io).


Tutorials


Poku offers _mini-lessons_ for different users needs in the [Quick Tutorials](https://poku.io/docs/category/quick-tutorials) section.

Quick Comparisons


Performance


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

- ~4x faster than [Jest](https://github.com/jestjs/jest) (v29.7.0)
- ~3x faster than [Vitest](https://github.com/vitest-dev/vitest) (v1.6.0)
- ~1x faster than [Mocha](https://github.com/mochajs/mocha) (v10.4.0) + [Chai](https://github.com/chaijs/chai) (v5.1.1)

You can see how the tests are run and compared in the benchmark directory.


Installation Size


Install Size

- [~230x lighter than Vitest](https://pkg-size.dev/vitest)
- [~130x lighter than Jest](https://pkg-size.dev/jest)
- [~30x lighter than Mocha + Chai](https://pkg-size.dev/mocha%20chai)

Poku size is highly significant in development to ensure cost-saving CI that require servers that charge for storage and usage.



Security Policy


Please check the [SECURITY.md](https://github.com/wellwelwel/poku/blob/main/SECURITY.md).