Testing with mocha and mochawesome
This is the documentation for 1.20.1 version, which is not the latest version. Consider upgrading to 2.1.3.
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.