@RunWith(Enclosed.class) annotated JUnit test classes hang when whole project is tested [message #759723] |
Tue, 29 November 2011 18:37 |
|
Hi,
I've tried out the Enclosed test runner lately to group my test methods.
Running single test classes works fine, but running them all causes the
junit tree view of eclipse to hang at some indefinited points in time.
It's unlikely that these classes affect each other in a way that could
cause this problem. Maven executes all tests.
I'm currently using eclipse 3.7 and junit 4.10. Any ideas how to solve
this issue?
Regards,
Jens
|
|
|
|
Re: @RunWith(Enclosed.class) annotated JUnit test classes hang when whole project is tested [message #759935 is a reply to message #759837] |
Wed, 30 November 2011 15:43 |
|
Hi,
it looks like Maven also uses only a single VM instance.
I figured out that running a TestSuite instead of letting
eclipse collect all tests doesn't cause a hang.
cheers,
Jens
Am 30.11.2011 10:29, schrieb Deepak Azad:
> On 11/30/2011 12:07 AM, Jens Piegsa wrote:
>> Hi,
>>
>> I've tried out the Enclosed test runner lately to group my test methods.
>> Running single test classes works fine, but running them all causes the
>> junit tree view of eclipse to hang at some indefinited points in time.
>> It's unlikely that these classes affect each other in a way that could
>> cause this problem. Maven executes all tests.
>> I'm currently using eclipse 3.7 and junit 4.10. Any ideas how to solve
>> this issue?
>>
>> Regards,
>> Jens
>
> Eclipse runs all tests in a single VM. Does Maven run the tests in
> separate VMs?
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02450 seconds