Skip to content

Commit

Permalink
Merge pull request #18185 from stuartwdouglas/test-count
Browse files Browse the repository at this point in the history
Report number of tests correctly
  • Loading branch information
gsmet authored Jun 28, 2021
2 parents ff06500 + 10c28f0 commit 3412275
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public void runComplete(TestRunResults results) {
GREEN + "All %d tests are passing (%d skipped), %d tests were run in %dms." + end + RESET,
results.getPassedCount(),
results.getSkippedCount(),
results.getCurrentTotalCount() - results.getSkippedCount(), results.getTotalTime());
results.getCurrentTotalCount() - results.getCurrentSkippedCount(), results.getTotalTime());
} else {
currentlyFailing = true;
//TODO: this should not use the logger, it should print a nicer status
Expand All @@ -281,7 +281,7 @@ public void runComplete(TestRunResults results) {
RED + "%d tests failed" + RESET + " (" + GREEN + "%d passing" + RESET + ", " + BLUE + "%d skipped"
+ RESET + ")" + RED + ", %d tests were run in %dms." + end + RESET,
results.getCurrentFailedCount(), results.getPassedCount(), results.getSkippedCount(),
results.getCurrentTotalCount(), results.getTotalTime());
results.getCurrentTotalCount() - results.getCurrentSkippedCount(), results.getTotalTime());
}
//this will re-print when using the basic console
if (!disabled) {
Expand Down

0 comments on commit 3412275

Please sign in to comment.