Skip to content

Commit

Permalink
Resuming tests after pause is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Aug 24, 2021
1 parent 9e968e4 commit 68e85dd
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ private void setupPausedConsole() {
public void run() {
if (lastResults == null) {
testsStatusOutput.setMessage(BLUE + "Starting tests" + RESET);
} else {
testsStatusOutput.setMessage(null);
}
setupTestsRunningConsole();
TestSupport.instance().get().start();
}
}));
Expand All @@ -103,8 +106,10 @@ private void setupFirstRunConsole() {
} else {
testsStatusOutput.setMessage(BLUE + "Running tests for the first time" + RESET);
}
consoleContext.reset();
addTestOutput();
if (firstRun) {
consoleContext.reset();
addTestOutput();
}
}

void addTestOutput() {
Expand Down

0 comments on commit 68e85dd

Please sign in to comment.