Package Exports
- poku
- poku/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (poku) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Poku
Poku is your test runner pet for Node.js, Bun and Deno combining flexibility, parallel and sequential runs, human-friendly assertion errors and high isolation level.
By creating Poku, my aim is to show that testing can be simpler.
Enjoying Poku? Consider giving him a star โญ๏ธ
๐ท Documentation Website โข ๐ฌ Compare Poku with the Most Popular Test Runners โข ๐งช Examples
Why Poku?
Let's make describe, beforeEach and everything else easier ๐
- Supports ESM and CJS
- Designed to be highly intuitive
- Compatible with Coverage tools
- Node.js, Bun and Deno compatibility
- Zero configurations, except you want
- Allows both API (in-code) and CLI usage
- Poku adapts to your test, not the other way around
- You can use Poku's
assertwith every test runner you want - And much more!
Documentation
- See detailed usage in Documentation section for Poku's CLI, API (in-code) and assert, advanced concepts and much more.
Examples
- See real example usages in Examples section for Poku's + Mock, Virutal DOM and more.
Overview
poku
| Sequential | Concurrent |
|---|---|
![]() |
![]() |
assert
Using poku |
Using node |
|---|---|
![]() |
![]() |
Install
Node.js
npm i -D pokuTypeScript (Node.js)
npm i -D poku tsxBun
bun add -d pokuDeno
import { poku } from 'npm:poku';Quick Start
poku
CLI
Try to set the flag
--parallelbefore the target path ๐
npx poku targetPath
npx poku targetPathA,targetPathBbun poku targetPath
bun poku targetPathA,targetPathBdeno run npm:poku targetPath
deno run npm:poku targetPathA,targetPathBAPI (In-code)
Node.js, TypeScript (Node.js) and Bun
import { poku } from 'poku';
await poku(['targetPath']);Deno
import { poku } from 'npm:poku';
await poku(['targetPath']);assert
Use it exactly as it's for Node.js ๐
To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.
Community
I'm continuously working to improve Poku. If you've got something interesting to share, feel free to submit a Pull Request. If you notice something wrong, I'd appreciate if you'd open an Issue.
Acknowledgements
Contributing
Please check the CONTRIBUTING.md for instructions ๐
License
Poku is under the MIT License.
Security Policy
Please check the SECURITY.md and the section Is Poku Safe? from Documentation.



