Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overlapping tests

1 view
Skip to first unread message

Mathias Waack

unread,
Aug 24, 2004, 12:20:23 PM8/24/04
to
Hi,

I have some time consuming tests which could (and should) run
simultaneously. Is there a way to achieve this behavior without
using (self-coded) threads? Unittest seems to be designed to run one
test after another, but not to run much tests at the same time.

The only way I can see so far is to start all tests during setUp()
and wait for each test-job in a job specific test() method.

Mathias


Benjamin Niemann

unread,
Aug 24, 2004, 1:53:10 PM8/24/04
to
If I understand you correctly, what you really want is one test that
tests the simultaneous executing of multiple tasks - a slighty different
formulation of your problem that suggest a totally different
implementation ;)
0 new messages