From: Michael Orlitzky Date: Fri, 11 Nov 2016 22:33:53 +0000 (-0500) Subject: Print a "pass" count during testing loops. X-Git-Tag: 0.1.0~34 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ec229377a0e8f15b6209b69cf7f983cdbabb1f9f;p=dunshire.git Print a "pass" count during testing loops. --- diff --git a/test/__main__.py b/test/__main__.py index aca4e64..d03b7a6 100755 --- a/test/__main__.py +++ b/test/__main__.py @@ -28,7 +28,10 @@ if result.wasSuccessful() and not loop: exit(0) if loop: + passed = 0 while(result.wasSuccessful()): + print('Passed: {:d}'.format(passed)) + passed += 1 result = run_suite(build_suite(doctests)) exit(1)