Skip to content

Commit 3543c0e

Browse files
committed
[isolate] added command line option
1 parent 76565ef commit 3543c0e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bin/vows

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ var help = [
4949
" -v, --verbose Enable verbose output",
5050
" -w, --watch Watch mode",
5151
" -s, --silent Don't report",
52+
" -i, --isolate Run each test in it's own vows process",
5253
" -m PATTERN Only run tests matching the PATTERN string",
5354
" -r PATTERN Only run tests matching the PATTERN regexp",
5455
" --json Use JSON reporter",
@@ -66,7 +67,8 @@ var options = {
6667
reporter: reporter,
6768
matcher: /.*/,
6869
watch: false,
69-
coverage: false
70+
coverage: false,
71+
isolate: false
7072
};
7173

7274
var files = [];
@@ -134,6 +136,10 @@ while (arg = argv.shift()) {
134136
case 'w':
135137
options.watch = true;
136138
break;
139+
case 'isolate':
140+
case 'i':
141+
options.isolate = true;
142+
break;
137143
case 'no-color':
138144
options.nocolor = true;
139145
break;

0 commit comments

Comments
 (0)