Hi!
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.
Cheers,
Yuppie
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )