1 .\" Generated with Ronnjs/v0.1
2 .\" http://github.com/kapouer/ronnjs/
4 .TH "NODEUNIT" "1" "October 2010" "" ""
7 \fBnodeunit\fR \-\- simple node\.js unit testing tool
12 nodeunit [options] <file\-or\-directory> [<file\-or\-directory> \.\.\.]
17 Nodeunit is a simple unit testing tool based on the node\.js assert module\.
23 Just export the tests from a module
26 Helps you avoid common pitfalls when testing asynchronous code
29 Easy to add test cases with setUp and tearDown functions if you wish
32 Allows the use of mocks and stubs
37 \fB\-\-config FILE\fR:
40 Load config options from a JSON file, allows the customisation
41 of color schemes for the default test reporter etc\.
42 See bin/nodeunit\.json for current available options\.
45 \fB\-\-reporter FILE\fR:
48 You can set the test reporter to a custom module or on of the modules
49 in nodeunit/lib/reporters, when omitted, the default test runner is used\.
52 \fB\-\-list\-reporters\fR:
55 List available build\-in reporters\.
58 \fB\-h\fR, \fB\-\-help\fR:
61 Display the help and exit\.
64 \fB\-v\fR, \fB\-\-version\fR:
67 Output version information and exit\.
70 \fB<file\-or\-directory>\fR:
71 You can run nodeunit on specific files or on all \fI*\.js\fR files inside
77 Written by Caolan McMahon and other nodeunit contributors\.
80 Contributors list: \fIhttp://github\.com/caolan/nodeunit/contributors\fR\|\.
83 Report nodeunit bugs to \fIhttp://github\.com/caolan/nodeunit/issues\fR\|\.
86 Copyright © 2010 Caolan McMahon\.
89 Nodeunit has been released under the MIT license:
92 \fIhttp://github\.com/caolan/nodeunit/raw/master/LICENSE\fR\|\.