Testing with mocha and mochawesome

This is the documentation for 1.16.4 version, which is not the latest version. Consider upgrading to 3.4.0.

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.