Poku can show you how simple testing can be 🌱
Enjoying Poku? Give him a star to show your support ⭐️
Poku takes on the testers' difficulties by itself and lets you focus on the tests.
No configurations
Auto detect ESM and CJS
Auto detect Typescript files
Don't export your server (just run it) 🚀
Run the same test suite for Node.js, Bun and Deno.
Safety and Reliability
High isolation level per file
Compatible with Coverage tools
Run CJS (CommonJS) files directly with Deno
Easily handle services, servers, processes and ports
Poku doesn't use eval
nor global state 🔐
In other words, you can run your tests directly, without relying on Poku
Node.js |
TypeScript + Node.js |
Bun |
Deno |
npm i -D poku |
npm i -D poku tsx |
bun add -d poku |
deno add npm:poku |
test/file.test.mjs |
import { assert } from 'poku';
assert(true, 'Poku will describe it 🐷'); |
Node.js (and TypeScript) |
Bun |
Deno |
npx poku |
bunx poku |
deno run npm:poku |
That's it 🎉
🐷 Documentation • 🧪 Examples • 🔬 Compare the Most Popular Test Runners
- Test
-
Background Services
-
startScript (run
package.json
scripts in a background process) - startService (run files in a background process)
-
startScript (run
- Processes
- beforeEach and afterEach
- test
- describe
- and much more ✨
To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.
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.
Please check the CONTRIBUTING.md for instructions 🚀
Please check the Philosophy section from Documentation.
Poku is under the MIT License.
Please check the SECURITY.md and the section Is Poku Safe? from Documentation.
- Poku community is gradually building up 🤝
- Although it has no external dependencies, Poku is not all-in-one, so it doesn't have features such as mocks and spies, where you can use your favorite packages or native solutions.
Sequential | Concurrent |
---|---|
@wellwelwel |