Skip to content

Commit

Permalink
Merge pull request #64 from pelias/show-improvement-count
Browse files Browse the repository at this point in the history
Show improvement count
  • Loading branch information
orangejulius authored Jun 29, 2016
2 parents 1310ebb + 7f79917 commit 4287c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions output_generators/email_static/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ <h2>{{name}}</h2>

<div>
pass: <span style="color: green;">{{suiteResults.stats.pass}}</span><br>
improvements: <span style="color: green;">{{suiteResults.stats.improvement}}</span><br>
fail: <span style="color: orange;">{{suiteResults.stats.fail}}</span><br>
placeholder: <span style="color: blue;">{{suiteResults.stats.placeholder}}</span><br>
regressions: <span style="color: red;">{{suiteResults.stats.regression}}</span><br>
Expand Down
1 change: 1 addition & 0 deletions output_generators/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function prettyPrintSuiteResults( suiteResults, config, testSuites ){

console.log( '\nAggregate test results'.blue );
console.log( 'Pass: ' + suiteResults.stats.pass.toString().green );
console.log( 'Improvements: ' + suiteResults.stats.improvement.toString().green);
console.log( 'Fail: ' + suiteResults.stats.fail.toString().yellow );
console.log( 'Placeholders: ' + suiteResults.stats.placeholder.toString().cyan );

Expand Down

0 comments on commit 4287c48

Please sign in to comment.