@taktikorg/voluptate-rerum
v4.7.86
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/taktikor
Downloads
1,866
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 @taktikorg/voluptate-rerum
npm i -D @taktikorg/voluptate-rerum tsx
bun add -d @taktikorg/voluptate-rerum
deno add npm:@taktikorg/voluptate-rerum
Test
import { assert } from '@taktikorg/voluptate-rerum';
assert(true, 'Poku will describe it 🐷');
Run
npx @taktikorg/voluptate-rerum
bunx @taktikorg/voluptate-rerum
deno run npm:@taktikorg/voluptate-rerum
That's it 🎉
🐷 Documentation • 🧪 Examples • 🔬 Compare the Most Popular Test Runners
Available Methods
Essentials
- Test
- @taktikorg/voluptate-rerum (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.