A QUnit plugin to report the results on node's stdout.
This module requires the original QUnit (on npm as
qunitjs) in order to run.
npm install --save-dev qunitjs qunit-reporter-stdout
var QUnit = ;var stdout = ;;/* and then you write your tests */...// and start running the testsQUnit;
This module will also disable QUnit.config.autorun in order to make it work properly on async code. Because of this, you need to run
QUnit.load() after setting your tests to run them.
output: none (default),
- with no given value, the default output will list the modules and test names, followed by dots representing each passing assertion.
minimalwill omit the modules and tests names on the output.
verbosewill print a more detailed output.