Marius Gedminas wrote:
>> And if I use the -t option (-ttest_tool), most tests fail :(
> That is an indication that the tests aren't independent.  I would
> consider such a test suite to be broken.

Well. In this case the tests are independent from each other, but not 
from the way tests are filtered:

The -m filter is applied *before* test modules are imported.

The -t filter is applied *after* importing all available test modules.

Some nasty code in Zope 2 behaves differently if different modules are 
imported before running the tests.


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to