@patrtorg/officiis-dolorum
v4.7.81
Published
[node-version-url]: https://github.com/nodejs/node [bun-version-url]: https://github.com/oven-sh/bun [deno-version-url]: https://github.com/denoland/deno [typescript-url]: https://github.com/microsoft/TypeScript [ci-linux-url]: https://github.com/patrtorg
Downloads
1,826
Maintainers
Keywords
Readme
Poku
Poku can show you how simple testing can be 🌱
Enjoying Poku? Give him a star to show your support ⭐️
Why does Poku exist?
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 Run the same test suite for Node.js, Bun and Deno
Easier and Less Verbose Easily test your server just by running it 🚀 Run CJS (CommonJS) files directly with Deno Easily handle services, servers, processes and ports
Safety and Reliability
High isolation level per file
Compatible with Coverage tools
Poku doesn't use eval
nor global state 🔐
In other words, you can run your tests directly, without relying on Poku
Quickstart
Install
npm i -D @patrtorg/officiis-dolorum
npm i -D @patrtorg/officiis-dolorum tsx
bun add -d @patrtorg/officiis-dolorum
deno add npm:@patrtorg/officiis-dolorum
Test
import { assert } from '@patrtorg/officiis-dolorum';
assert(true, 'Poku will describe it 🐷');
Run
npx @patrtorg/officiis-dolorum
bunx @patrtorg/officiis-dolorum
deno run npm:@patrtorg/officiis-dolorum
That's it 🎉
🐷 Documentation • 🧪 Examples • 🔬 Compare the Most Popular Test Runners
Available Methods
Essentials
- Test
- @patrtorg/officiis-dolorum (test runner)
- assert (test assertion)
- Background Services
- startScript (run
package.json
scripts in a background process) - startService (run files in a background process)
- startScript (run
- Processes
Helpers
- beforeEach and afterEach
- test
- describe
- and much more ✨
Documentation and Examples
To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.
Contributing
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 🚀
Philosophy
Please check the Philosophy section from Documentation.
Security Policy
Please check the SECURITY.md and the section Is Poku Safe? from Documentation.
Limitations
- 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.
License
Poku is under the MIT License.