[Zope-dev] Re: [Zope-CMF] More unit test questions

2004-08-20 Thread Lennart Regebro
Lennart Regebro wrote:
OK, I got test.py running. But if I run
   bin/python test.py Products
it will happily try to run the tests in all products. But if I type
   bin/python test.py Products/Productname
It will find no tests at all.
   bin/python test.py Products/Productname/tests
is no better.
Mööp! I was wrong. In fact, I have so far been completely unable to run 
any unit tests outside of lib/python with test.py.

Running "bin/python test.py Products" will run all tests in 
lib/python/Products. Hardly obvious I must say...


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [Zope-CMF] More unit test questions

2004-08-20 Thread Dieter Maurer
Lennart Regebro wrote at 2004-8-20 17:39 +0200:
>OK, I got test.py running. But if I run
>bin/python test.py Products

This should probably be:

 ... test.py --libdir Products

Note also, that "test.py" treats symbolic links in an unexpected
way (it resolves the path and may then no longer find its library).

-- 
Dieter
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )