Re: [Zope] Testing products: Testing all in one batch
On 5 Oct 2005, at 14:49, Lennart Regebro wrote:
On 10/5/05, Jens Vagelpohl <jens@dataflake.org> wrote:
from the instance home will test all products in that instance home.
Often doesn't work, the different products tests will walk all over each other. But setting up a script that walks all the Product directories and runs the test for the separately shouldn't be a problem.
This is correct, but you're just papering over a deeper problem, namely bad cleanup in some unit tests. jens
Jens Vagelpohl said:
On 5 Oct 2005, at 14:49, Lennart Regebro wrote:
On 10/5/05, Jens Vagelpohl <jens@dataflake.org> wrote:
from the instance home will test all products in that instance home.
Often doesn't work, the different products tests will walk all over each other. But setting up a script that walks all the Product directories and runs the test for the separately shouldn't be a problem.
This is correct, but you're just papering over a deeper problem, namely bad cleanup in some unit tests.
Indeed. Anybody have tips on troubleshooting this? I'm currently finding it really annoying to even find which tests are the culprit(s). All I've been doing is: - try every combination of products (ugh, combinatorial explosion) - run tests with -vv so I know for sure which tests have already run when the problem occurs. -- Paul Winkler http://www.slinkp.com
On 10/5/05, Jens Vagelpohl <jens@dataflake.org> wrote:
This is correct, but you're just papering over a deeper problem, namely bad cleanup in some unit tests.
Sure, but that's how reality looks. It's unfortunate, but there ya go. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
participants (3)
-
Jens Vagelpohl -
Lennart Regebro -
Paul Winkler