Merge pull request #91 from kljohann/tests.interactive
provide immediate feedback in test runner
This commit is contained in:
commit
cffa343d71
1 changed files with 2 additions and 0 deletions
|
|
@ -116,12 +116,14 @@ class LedgerHarness:
|
|||
|
||||
def success(self):
|
||||
sys.stdout.write(".")
|
||||
sys.stdout.flush()
|
||||
self.succeeded += 1
|
||||
|
||||
def failure(self, name=None):
|
||||
sys.stdout.write("E")
|
||||
if name:
|
||||
sys.stdout.write("[%s]" % name)
|
||||
sys.stdout.flush()
|
||||
self.failed += 1
|
||||
|
||||
def exit(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue