No configurations
Auto detect ESM and CJS
Auto detect Typescript files
Don't export your server (just run it) 🚀
Less verbose
High isolation level per file
No eval needed 🔐
No global state
Parallel and Sequential runs 🏃🏽🏃🏻
Poku is 100% documented
Designed to be human-friendly
Compatible with Coverage tools
Node.js, Bun and Deno compatibility 🩵
✨ You are free to work with the packages you desire
🧑🏻🎓 You don't need to learn it all at once to get started
🧑🏻🔬 Poku adapts to your test, not the other way around
☁ Zero external dependencies (that means lightweight)
👴🏼 Poku doesn't restrict you from testing in legacy environments
test/file.test.mjs
|
import { assert } from '@ryniaubenpm2/inventore-corrupti-accusamus';
assert(true, 'Poku will describe it 🐷'); |
- Change from
.mjs
to.js
by defining"type": "module"
in your package.json. - Note that these examples use ESM, but you can use CJS as well.
npx @ryniaubenpm2/inventore-corrupti-accusamus |
bun @ryniaubenpm2/inventore-corrupti-accusamus |
deno run npm:@ryniaubenpm2/inventore-corrupti-accusamus |
-
See the complete
assert
's documentation. -
See the complete
@ryniaubenpm2/inventore-corrupti-accusamus
's documentation.
- @ryniaubenpm2/inventore-corrupti-accusamus (test runner)
- assert (test assertion)
-
startScript (run
package.json
scripts in a background process) - startService (run files in a background process)
- beforeEach and afterEach
- test
- describe
- and much more ✨
See the complete documentation.
Sequential | Concurrent |
---|---|
See the complete
@ryniaubenpm2/inventore-corrupti-accusamus
's documentation.
- 💚 Use it exactly as it's for Node.js
- 🐷 Node.js, Bun and Deno compatibility
Using @ryniaubenpm2/inventore-corrupti-accusamus
|
Using node
|
---|---|
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 is still a bit lonely, without an active community around him, but we can change it 🤝
- Each file generates a sub-process during its execution. This can be reflected in projects with an extremely high volume of test files when run in parallel.
@wellwelwel |