Poku
🖇️ A flexible and easy-to-use Test Runner for parallel or concurrent runs and high isolation level.
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/wellwelwel/poku/ci.yml?event=push&style=flat&label=ci&branch=main&color=badc58)
Why Poku?
🪄 Runs test files in an individual process, shows progress and exits.
- Poku is designed to be highly intuitive.
- Works with Node.js 6 to Latest (ESM and CJS), TypeScript (no need to build) and Coverage tools.
- Poku dive to the deepest depths to find tests in the specified directories.
- Unleash creativity: No constraints or predefined paths. Code in your own signature style.
- No environment restrictions: Poku is strongly tested on all Node versions from 6 onwards.
- As an example, Poku uses itself to test its own tests in different depths using several
process.exit
in the same node process. - Zero configurations, except you want.
- Use both in-code and CLI usage.
- Totally dependency-free.
Install
npm install --save-dev poku
Basic Usage
In-code
import { poku } from 'poku';
await poku(['./a', './b']);
CLI
npx poku --include='./a,./b';
TypeScript
To run your tests without compile, just install tsx
and it's done:
npm install --save-dev tsx
In progress
🧑🏻🔧 Soon releasing version 1.x
.
🧑🏻🎓 Soon documenting all options and Poku's usage variations.