This setup is using
- Mocha as the testing framework.
- The standard Node.js assertion module
assert
. - The "Spec" reporter for test output.
To create a new Kata just create a new test and a new library in lib/
. See test/oeffnungszeiten.js
and the code it's testing lib/oeffnungszeiten.js
for a usage example.
- Install Node.js
- Then, in the terminal go to the project directory and
npm install
Run a specific test with
mocha test/filename.js