[Checkins] SVN: zope.testing/branches/3.5/ Launchpad #261734: include the unit test time in the total time reported.

Marius Gedminas marius at pov.lt
Wed Aug 27 00:45:31 EDT 2008


Log message for revision 90383:
  Launchpad #261734: include the unit test time in the total time reported.
  
  

Changed:
  U   zope.testing/branches/3.5/README.txt
  U   zope.testing/branches/3.5/src/zope/testing/testrunner.py

-=-
Modified: zope.testing/branches/3.5/README.txt
===================================================================
--- zope.testing/branches/3.5/README.txt	2008-08-27 04:45:23 UTC (rev 90382)
+++ zope.testing/branches/3.5/README.txt	2008-08-27 04:45:31 UTC (rev 90383)
@@ -58,6 +58,15 @@
 Releases
 ********
 
+3.5.5 (unreleased)
+==================
+
+Bugs Fixed:
+-----------
+
+- Launchpad #261734: include the unit test time in the total time reported.
+
+
 3.5.4 (2008/08/01)
 ==================
 

Modified: zope.testing/branches/3.5/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/branches/3.5/src/zope/testing/testrunner.py	2008-08-27 04:45:23 UTC (rev 90382)
+++ zope.testing/branches/3.5/src/zope/testing/testrunner.py	2008-08-27 04:45:31 UTC (rev 90383)
@@ -1041,6 +1041,8 @@
 
         tests_by_layer_name = find_tests(options, found_suites)
 
+        start_time = time.time()
+
         ran = 0
         failures = []
         errors = []
@@ -1091,8 +1093,6 @@
                 output.list_of_tests(tests, layer_name)
             return True
 
-        start_time = time.time()
-
         for layer_name, layer, tests in layers_to_run:
             nlayers += 1
             try:



More information about the Checkins mailing list