From the end result I removed the failure spec count,
because task return value also displayed that information.
This commit is contained in:
parent
5cea4291f4
commit
e96ab59997
@ -172,10 +172,8 @@ module.exports = function(grunt) {
|
|||||||
phantomjs.on('jasmine.reportRunnerResults',function(){
|
phantomjs.on('jasmine.reportRunnerResults',function(){
|
||||||
grunt.verbose.writeln('Runner finished');
|
grunt.verbose.writeln('Runner finished');
|
||||||
var dur = (new Date()).getTime() - thisRun.start_time;
|
var dur = (new Date()).getTime() - thisRun.start_time;
|
||||||
var failed = thisRun.executed_specs - thisRun.passed_specs;
|
var spec_str = thisRun.executed_specs + (thisRun.executed_specs === 1 ? " spec " : " specs ");
|
||||||
var spec_str = thisRun.executed_specs + (thisRun.executed_specs === 1 ? " spec, " : " specs, ");
|
grunt.log.writeln(spec_str + 'in ' + (dur/1000) + "s.");
|
||||||
var fail_str = failed + (failed === 1 ? " failure in " : " failures in ");
|
|
||||||
grunt.log.writeln(spec_str + fail_str + (dur/1000) + "s.");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
phantomjs.on('jasmine.testDone',function(totalAssertions, passedAssertions, failedAssertions, skippedAssertions){
|
phantomjs.on('jasmine.testDone',function(totalAssertions, passedAssertions, failedAssertions, skippedAssertions){
|
||||||
|
Loading…
Reference in New Issue
Block a user