From fa54f3be49f9b182cd1ad44c377e9d8c07da008d Mon Sep 17 00:00:00 2001 From: nav347 <59000469+nav347@users.noreply.github.com> Date: Tue, 31 Mar 2020 11:19:13 -0700 Subject: [PATCH] Current Running Tests can be seen at start rather than at end Before we would only know which test was running after it was complete as it printed the time taken as well. I wanted to see the current running tests so I just flushed that part of the statement out before the time instead of together --- HtmlTestRunner/result.py | 1 + 1 file changed, 1 insertion(+) diff --git a/HtmlTestRunner/result.py b/HtmlTestRunner/result.py index 96fb431..5bab5f9 100644 --- a/HtmlTestRunner/result.py +++ b/HtmlTestRunner/result.py @@ -175,6 +175,7 @@ def startTest(self, test): if self.showAll: self.stream.write(" " + self.getDescription(test)) self.stream.write(" ... ") + self.stream.flush() def _save_output_data(self): try: