Let me have a guess :)
On 25/01/2012 7:42 PM, Ross Boylan wrote:
On Tue, 2012-01-24 at 13:54 -0800, Ross Boylan wrote:
...
The code I want to test uses threads, but that is not entirely internal
from the standpoint of the unit test framework. The unit test will be
executing in one thread, but
On Tue, 2012-01-24 at 13:54 -0800, Ross Boylan wrote:
> Is it safe to use unittest with threads?
>
> In particular, if a unit test fails in some thread other than the one
> that launched the test, will that information be captured properly?
>
> A search of the net shows a suggestion that all fail
On Tue, 24 Jan 2012 13:54:23 -0800, Ross Boylan wrote:
> Is it safe to use unittest with threads?
I see nobody else has answered, so I'll have a go.
I think you need to explain what you mean here in a little more detail.
If you mean, "I have a library that uses threads internally, and I want
t
Is it safe to use unittest with threads?
In particular, if a unit test fails in some thread other than the one
that launched the test, will that information be captured properly?
A search of the net shows a suggestion that all failures must be
reported in the main thread, but I couldn't find anyt