nodeunit
Unit test framework for Node.js and the browser
Install
- All systems
-
curl cmd.cat/nodeunit.sh
- Debian
-
apt-get install nodeunit
- Ubuntu
-
apt-get install nodeunit
- Kali Linux
-
apt-get install nodeunit
- Fedora
-
dnf install nodeunit
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install nodeunit
- Raspbian
-
apt-get install nodeunit
- Dockerfile
- dockerfile.run/nodeunit
nodeunit
Unit test framework for Node.js and the browser
This package provides easy async unit testing for Node.js and the browser. Particularly, this module: * Is simple to use, * Just exports the tests from a module, * Works with node.js and in the browser, * Helps you avoid common pitfalls when testing asynchronous code, * Allows one to easily add test cases with setUp and tearDown functions, * Adds flexible reporters for custom output, built-in support for HTML & jUnit XML, * Allows one to use mocks and stubs. Node.js is an event-based server-side JavaScript engine.