File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ is used.
233233* __ --config FILE__ - load config options from a JSON file, allows
234234the customisation of color schemes for the default test reporter etc. See
235235bin/nodeunit.json for current available options.
236+ * __ -t testName__ - run specifc test only.
237+ * __ -f fullTestName__ - run specific test only. fullTestName is built so: "outerGroup - .. - innerGroup - testName".
236238* __ --version__ or __ -v__ - report nodeunit version
237239* __ --help__ - show nodeunit help
238240
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ var usage = "Usage: nodeunit [options] testmodule1.js testfolder [...] \n" +
2929 " --config FILE the path to a JSON file with options\n" +
3030 " --reporter FILE optional path to a reporter file to customize the output\n" +
3131 " --list-reporters list available build-in reporters\n" +
32- " -t name, specify a test to run\n" +
33- " -f fullname , specify a specific test to run. fullname is built so: \"outerGroup - .. - innerGroup - testName\"\n" +
32+ " -t testName, specify a test to run\n" +
33+ " -f fullTestName , specify a specific test to run. fullTestName is built so: \"outerGroup - .. - innerGroup - testName\"\n" +
3434 " -h, --help display this help and exit\n" +
3535 " -v, --version output version information and exit" ;
36-
36+
3737
3838
3939// load default options
Original file line number Diff line number Diff line change @@ -29,7 +29,13 @@ Nodeunit is a simple unit testing tool based on the node.js assert module.
2929 __ --list-reporters__ :
3030 List available build-in reporters.
3131
32- __ -h__ , __ --help__ :
32+ __ -t testName__ :
33+ Run specifc test only.
34+
35+ __ -f fullTestName__ :
36+ Run specific test only. fullTestName is built so: "outerGroup - .. - innerGroup - testName".
37+
38+ __ -h__ , __ --help__ :
3339 Display the help and exit.
3440
3541 __ -v__ , __ --version__ :
You can’t perform that action at this time.
0 commit comments