[TIP] Fwd: Testing multi-threaded applications
fuzzyman at voidspace.org.uk
Tue May 8 09:48:29 PDT 2007
Sorry for the top post - long post to reply to,
Shouldn't you use the normal test patterns?
Test the individual components (test each thread as if it was single
Test the logic that uses the components (the locking and code that
High level (functional) tests that test the features work as expected.
Will Guaraldi wrote:
> Whoops--forgot to copy the list.
> ---------- Forwarded message ----------
> From: Will Guaraldi <will.guaraldi at gmail.com>
> Date: May 8, 2007 10:38 AM
> Subject: Re: [TIP] Testing multi-threaded applications
> To: Raphael Marvie <raphael.marvie at lifl.fr>
> I'm not really sure I understand what it is you're actually trying to
> test. Are you testing to make sure there's no possibility for dead
> lock? Are you testing to make sure threads can't starve? Are you
> testing that the threads are interacting as you've asked them to?
More information about the testing-in-python