From 1d2f785bc88a6d8aac39d3253165a3fa582207d7 Mon Sep 17 00:00:00 2001 From: Ofir Moskovich Date: Wed, 23 Aug 2023 14:21:06 +0300 Subject: [PATCH] print tets which are under execution for easier investigation on which test is stuck --- RLTest/__main__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RLTest/__main__.py b/RLTest/__main__.py index 7ca667c2..4f810c98 100644 --- a/RLTest/__main__.py +++ b/RLTest/__main__.py @@ -591,6 +591,8 @@ def _runTest(self, test, numberOfAssertionFailed=0, prefix='', before=None, afte testFullName = prefix + test.name + self.printRunningTest(testFullName) + if not test.is_method: Defaults.curr_test_name = testFullName @@ -682,6 +684,9 @@ def printError(self, name): def printPass(self, name): print('%s:\r\n\t%s' % (Colors.Cyan(name), Colors.Green('[PASS]'))) + def printRunningTest(self, name): + print('%s:%s' % (Colors.Cyan(name), Colors.Gray(' Executing...'))) + def envScopeGuard(self): return EnvScopeGuard(self)