Testing with mocha and mochawesome
This is the documentation for 1.16.4 version, which is not the latest version. Consider upgrading to 3.0.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.
For examples using Mochawesome, see RosaeNLG node.js boilerplate project.