grunt-parallel-spec-runner
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "grunt-parallel-spec-runner", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Plugin used to configure and launch multiple spec ", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/RallySoftware/grunt-parallel-spec-runner.git", |
@@ -135,9 +135,3 @@ /* | ||
grunt: true, | ||
opts: { | ||
stdio: [ | ||
process.stdin, | ||
process.stout, | ||
process.stderr | ||
] | ||
}, | ||
opts: {stdio: 'inherit'}, | ||
args: ['webdriver_jasmine_runner:' + options.target + ':' + specRunner.file] | ||
@@ -149,12 +143,12 @@ } | ||
} | ||
var s = grunt.util.spawn(opts, df); | ||
grunt.util.spawn(opts, df); | ||
//TODO: see if we can get this working with stdio: {'inherit'} | ||
s.stdout.on('data', function(data) { | ||
var msg = data.toString(); | ||
var pat = /\d+ of \d+ tests failed:/; | ||
if(pat.test(msg)) { | ||
var failures = +msg.match(pat)[0].match(/\d+/)[0]; | ||
summary.failures = summary.failures + failures; | ||
} | ||
}); | ||
//s.stdout.on('data', function(data) { | ||
// var msg = data.toString(); | ||
// var pat = /\d+ of \d+ tests failed:/; | ||
// if(pat.test(msg)) { | ||
// var failures = +msg.match(pat)[0].match(/\d+/)[0]; | ||
// summary.failures = summary.failures + failures; | ||
// } | ||
//}); | ||
} | ||
@@ -161,0 +155,0 @@ }, 500); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13419
317