poku
v4.1.0
Published
๐ท Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Maintainers
Readme
Poku
Enjoying Poku? Give him a star to show your support ๐
๐ท Websiteย ย โขย ย ๐ Documentationย ย โขย ย ๐งช Examplesย ย โขย ย ๐ง๐ปโ๐ Tutorials
Why does Poku exist?
๐ก Poku is a cross-platform test runner that brings the JavaScript essence back to testing.
High isolation level per file Performant and lightweight Auto detect ESM, CJS, and TypeScript files Run the same test suite for Node.js, Bun, and Deno Easily handle servers, processes, ports, and even containers โจ
Quickstart
Install
# Node.js
npm i -D poku# TypeScript (Node.js)
npm i -D poku tsx# Bun
bun add -d poku# Deno (optional)
deno add npm:pokuTest
import { assert } from 'poku';
assert(true, 'Poku will describe it ๐ท');Run
npx pokubun pokudeno run npm:pokuFeatures
Essentials
Helpers
Common Options
and much more ๐๐ป
Documentation and Examples
To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.
Tutorials
Poku offers mini-lessons for different users needs in the Quick Tutorials section.
Common Issues (FAQ)
- Avoiding conflicts in environments with multiple platforms installed.
- Properly running asynchronous tests on the same file.
- Using Poku without installing it on Deno.
- Migrating:
Quick Comparisons
Performance
Poku is continuously tested to ensure the following average expectations for basic usage:
- ~4.6x faster than Jest (v30.2.0)
- ~3.5x faster than Vitest (v4.0.8)
- ~1.4x faster than Mocha (v11.7.5) โ even with test file isolation ๐
- You can see how the tests are run and compared in the benchmark directory.
- Comparing Poku and native test runners (discussion).
Installation Size
Poku size ensures cost-saving CI for services that charge for storage and usage.
Security Policy
Please check the SECURITY.md.
Contributing
See the Contributing Guide and please follow our Code of Conduct ๐
Acknowledgements
Contributors
My thanks to everyone who has dedicated their time and effort to improving Poku.
Sponsors
Really thanks to everyone who has supported and keeps supporting my work.
Also for the private ones, who don't appear here ๐ต
License
Poku is under the MIT License. Copyright ยฉ 2024-present Weslley Araรบjo and Poku contributors.
