git clone https://github.com/nodejs/node-report cd node-report npm install npm test
The output of a successful test run is as follows:
The node-report module contains code that is OS platform dependent, so it is important that the tests are run on a range of supported platforms. The node-report Continuous Integration (CI) build uses Jenkins to schedule tests on a list of machines. By default, the node-report CI build tests the latest master branch of the node-report module using the latest development level of Node.js, on all machines. The node-report branch, version of Node.js and machine selection can all be configured as required for a test run. An example Jenkins run is as follows:
Acknowledgments: thanks to Richard Lau for converting the node-report tests to use tap, and for extending the test coverage. Thanks to Michael Dawson, Gibson Fahnestock and George Adams for setting up the CI build.