Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOD-6023: Print running tests #198

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 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,10 @@ def printError(self, name):
def printPass(self, name):
print('%s:\r\n\t%s' % (Colors.Cyan(name), Colors.Green('[PASS]')))

def printRunningTest(self, name):
if self.parallelism > 1:
print('%s: %s' % (Colors.Cyan(name), Colors.Gray('Running...')))

def envScopeGuard(self):
return EnvScopeGuard(self)

Expand Down
Loading