Testing with mocha and mochawesome

Standard regression testing using Mocha is just perfect.

You can use Mochawesome to generate nice reports, with a diff in the texts, which is very handy.

Mochawesome with diff

For examples using Mochawesome, see RosaeNLG node.js boilerplate project.