Poku
A cross-platform test runner that brings the JavaScript essence back to tes...
README
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
- ```bash
- # Node.js
- npm i -D poku
- ```
- ```bash
- # TypeScript (Node.js)
- npm i -D poku tsx
- ```
- ```bash
- # Bun
- bun add -d poku
- ```
- ```bash
- # Deno (optional)
- deno add npm:poku
- ```
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
- [~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).