Tests are written using Mocha in a BDD style. We use the Chai Assertion library for verifying behaviour.
Simple run:
$> cd <repos>/waltz/walt-ng
$> npm run test
Ensure Node support is installed. Configure a test Mocha test runner with options similar to the following:
- mocha package:
<repos>/waltz/waltz-ng/node_modules/mocha
- mocha options:
--recursive --compilers js:babel-core/register
- test directory:
<repos>/waltz/waltz-ng/tests
- working directory:
<repos>/waltz
- interface style:
bdd