@@ -109,9 +109,9 @@ the API where possible, to make it easier to digest.
109
109
Tests are simply exported from a module, but they are still run in the order
110
110
they are defined.
111
111
112
- __ Note:__ Users of old nodeunit versions may remember using ` ok ` , ` equals ` and
113
- ` same ` in the style of qunit, instead of the assert functions above. These
114
- functions still exist for backwards compatibility, and are simply aliases to
112
+ __ Note:__ Users of old nodeunit versions may remember using ` ok ` , ` equals ` and
113
+ ` same ` in the style of qunit, instead of the assert functions above. These
114
+ functions still exist for backwards compatibility, and are simply aliases to
115
115
their assert module counterparts.
116
116
117
117
@@ -233,6 +233,8 @@ is used.
233
233
* __ --config FILE__ - load config options from a JSON file, allows
234
234
the customisation of color schemes for the default test reporter etc. See
235
235
bin/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".
236
238
* __ --version__ or __ -v__ - report nodeunit version
237
239
* __ --help__ - show nodeunit help
238
240
@@ -412,7 +414,7 @@ context when setting up the sandbox.
412
414
var box_globals = {
413
415
// Passing module.exports into the sandbox will give your code access to it.
414
416
module: {exports: exports},
415
- // Passing require into the sandbox will give your code access to use it AND
417
+ // Passing require into the sandbox will give your code access to use it AND
416
418
// will share the cache with modules already required from outside the sandbox.
417
419
require: require,
418
420
// Passing console into the sandbox will give your code access to it
@@ -440,7 +442,7 @@ to v0.2.1 fixes this.
440
442
__ machineout__ reporter
441
443
----------------------------------------------
442
444
443
- The default reporter is readable for human but not for machine analysis.
445
+ The default reporter is readable for human but not for machine analysis.
444
446
When you want to analyze the output of nodeunit, use __ machineout__ reporter and you will get
445
447
446
448
<img src =" https://github.com/caolan/nodeunit/raw/master/img/example_machineout.png " />
@@ -454,7 +456,7 @@ nodeunit with VIM.
454
456
That compiler uses __ machineout__ reporter and it is useful to use
455
457
with [ vim-makegreen] ( https://github.com/reinh/vim-makegreen ) .
456
458
457
-
459
+
458
460
459
461
Contributing
460
462
------------
0 commit comments