[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner Added a test for -1 option.

Jim Fulton jim at zope.com
Fri Jun 24 17:29:45 EDT 2005


Stephan Richter wrote:
> On Friday 24 June 2005 16:39, Jim Fulton wrote:
> 
>>+    Running samplelayers.Layer1 tests:
>>+      Set up samplelayers.Layer1 in 0.000 seconds.
>>+      Ran 9 tests with 0 failures and 0 errors in 0.000 seconds.
>>+    Running samplelayers.Layer12 tests:
>>+      Set up samplelayers.Layer12 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
>>+    Running samplelayers.Layer122 tests:
>>+      Set up samplelayers.Layer122 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
>>+    Running samplelayers.Layer121 tests:
>>+      Tear down samplelayers.Layer122 in 0.000 seconds.
>>+      Set up samplelayers.Layer121 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
>>+    Running samplelayers.Layer11 tests:
>>+      Tear down samplelayers.Layer121 in 0.000 seconds.
>>+      Tear down samplelayers.Layer12 in 0.000 seconds.
>>+      Set up samplelayers.Layer11 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
>>+    Running samplelayers.Layer112 tests:
>>+      Set up samplelayers.Layerx in 0.000 seconds.
>>+      Set up samplelayers.Layer112 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
>>+    Running samplelayers.Layer111 tests:
>>+      Tear down samplelayers.Layer112 in 0.000 seconds.
>>+      Set up samplelayers.Layer111 in 0.000 seconds.
>>+      Ran 34 tests with 0 failures and 0 errors in 0.007 seconds.
> 
> 
> Jim,
> 
> I am pretty sure you want to use "..." for the times, since may vary among 
> machines.

Nope.  See:

   http://svn.zope.org/zope.testing/trunk/src/zope/testing/renormalizing.py?view=markup

which allows me to be elipsis free. :)

Also see how I've taken advantage it in testrunner.py.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-Checkins mailing list