jstest for Node.js
Although tests can be run on any server-side platform with a simple
jstest has a convenience interface for Node.js.
Install the package through
$ npm install -g jstest
You can then run sets of spec files from the command-line:
$ jstest example/**/*_spec.js
The command takes a list of files, which it will load before telling the test framework to execute.
jstest program takes the following options:
--format: the output format to print to the console
--test: the name of the test to run; this option can be passed multiple times, and any test whose full name includes one of the given values will be run.