[Zope-CMF] testrunner from http://www.zope.org/Members/shh/TestRunner runs tests twice

Grégoire Weber gregoire.weber@switzerland.org
Sat, 01 Mar 2003 22:55:48 +0100


Hi Stefan,

your testrunner thankfully helped me running my unit tests!

One low priority question remains:

   Why are the test runned twice?
   I use Zope 2.6.1b2 and CMF 1.3 on Win2k.
   I didn't set INSTANCE_HOME because it was not necessary.

Gregoire

# On the Win2k Command Prompt:
# Remarks: 
#   - The first two lines are actualy one line!
#   - testrunner2.py is your testrunner from 
#     http://www.zope.org/Members/shh/TestRunner)
#   - To see the paths I added to my test_all.py:
#        import sys 
#        print '--------------------------------'
#        print '\n'.join(sys.path)
#        print '--------------------------------'

D:\Program Files\zope\zope26>python utilities\testrunner2.py -d E:\user\greg\data\Zope\inst\zope_dev\Products\CMFCollection -i

Adding E:\user\greg\data\Zope\inst\zope_dev\Products to products path.
--------------------------------
D:\Program Files\zope\zope26\lib\python
D:\Program Files\zope\zope26\bin\lib
D:\Program Files\zope\zope26\bin\lib\plat-win
D:\Program Files\zope\zope26\bin\lib\win32
D:\Program Files\zope\zope26\bin\lib\win32\lib
D:\Program Files\zope\zope26
utilities
D:\Program Files\zope\zope26\bin\DLLs
D:\Program Files\zope\zope26\bin\lib
D:\Program Files\zope\zope26\bin\lib\plat-win
D:\Program Files\zope\zope26\bin\lib\lib-tk
D:\Program Files\zope\zope26\bin

--------------------------------
test_test (Products.CMFCollection.tests.test_test.Test) ... ok
test_test (test_test.Test) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
_____________________________________
Grégoire Weber
Rigistr. 31
CH-8006 Zürich
Switzerland
phone:  +41-(0)1-361 66 11
mobile: +41-(0)79-44 11 457
mailto:gregoire.weber@switzerland.org