Skip to content

Commit

Permalink
print tets which are under execution for easier investigation on whic…
Browse files Browse the repository at this point in the history
…h test is stuck
  • Loading branch information
Ofir Moskovich committed Aug 23, 2023
1 parent 4dba325 commit 1d2f785
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RLTest/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 1d2f785

Please sign in to comment.