Skip to content

Commit

Permalink
[isolate] added command line option
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Aug 3, 2011
1 parent 76565ef commit 3543c0e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/vows
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var help = [
" -v, --verbose Enable verbose output",
" -w, --watch Watch mode",
" -s, --silent Don't report",
" -i, --isolate Run each test in it's own vows process",
" -m PATTERN Only run tests matching the PATTERN string",
" -r PATTERN Only run tests matching the PATTERN regexp",
" --json Use JSON reporter",
Expand All @@ -66,7 +67,8 @@ var options = {
reporter: reporter,
matcher: /.*/,
watch: false,
coverage: false
coverage: false,
isolate: false
};

var files = [];
Expand Down Expand Up @@ -134,6 +136,10 @@ while (arg = argv.shift()) {
case 'w':
options.watch = true;
break;
case 'isolate':
case 'i':
options.isolate = true;
break;
case 'no-color':
options.nocolor = true;
break;
Expand Down

0 comments on commit 3543c0e

Please sign in to comment.