JUnit - enhancement? [message #171247] |
Mon, 02 August 2004 23:30  |
Eclipse User |
|
|
|
In 2.1, JUnit tests would display a success message in the status bar if
you weren't in the JUnit perspective. I see that 3.0 doesn't do that
anymore. It would be great to have this functionality back, or even
better, to switch to the JUnit perspective no matter the outcome when
tests are run. Am I missing a config setting somewhere?
Don Nelson
|
|
|
Re: JUnit - enhancement? [message #171406 is a reply to message #171247] |
Tue, 03 August 2004 09:38   |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
Don Nelson wrote:
> In 2.1, JUnit tests would display a success message in the status bar if
> you weren't in the JUnit perspective. I see that 3.0 doesn't do that
> anymore. It would be great to have this functionality back, or even
> better, to switch to the JUnit perspective no matter the outcome when
> tests are run. Am I missing a config setting somewhere?
I don't remember that feature of 2.1, but I use JUnit in a way that
might appeal to you if you can't find it in 3.0:
I open the JUnit view and make it a fast view in Java Browsing,
Resource, and Debug perspectives (those are the only perspectives I run
JUnit tests from). When tests are successful, it stays minimized but the
icon shows test progress and green when complete. If tests fail, the
icon shows red and I can easily open the fast view.
HTH,
Eric
|
|
|
Re: JUnit - enhancement? [message #171941 is a reply to message #171406] |
Thu, 05 August 2004 00:45   |
Eclipse User |
|
|
|
Thanks Eric, good pointer. I'll give that a try.
Don
Eric Rizzo wrote:
> Don Nelson wrote:
>
>> In 2.1, JUnit tests would display a success message in the status bar
>> if you weren't in the JUnit perspective. I see that 3.0 doesn't do
>> that anymore. It would be great to have this functionality back, or
>> even better, to switch to the JUnit perspective no matter the outcome
>> when tests are run. Am I missing a config setting somewhere?
>
>
> I don't remember that feature of 2.1, but I use JUnit in a way that
> might appeal to you if you can't find it in 3.0:
> I open the JUnit view and make it a fast view in Java Browsing,
> Resource, and Debug perspectives (those are the only perspectives I run
> JUnit tests from). When tests are successful, it stays minimized but the
> icon shows test progress and green when complete. If tests fail, the
> icon shows red and I can easily open the fast view.
>
> HTH,
> Eric
|
|
|
Re: JUnit - enhancement? [message #172217 is a reply to message #171406] |
Fri, 06 August 2004 15:58  |
Eclipse User |
|
|
|
Eric Rizzo wrote:
> Don Nelson wrote:
>
>> In 2.1, JUnit tests would display a success message in the status bar
>> if you weren't in the JUnit perspective. I see that 3.0 doesn't do
>> that anymore. It would be great to have this functionality back, or
>> even better, to switch to the JUnit perspective no matter the outcome
>> when tests are run. Am I missing a config setting somewhere?
>
>
> I don't remember that feature of 2.1, but I use JUnit in a way that
> might appeal to you if you can't find it in 3.0:
> I open the JUnit view and make it a fast view in Java Browsing,
> Resource, and Debug perspectives (those are the only perspectives I run
> JUnit tests from). When tests are successful, it stays minimized but the
> icon shows test progress and green when complete. If tests fail, the
> icon shows red and I can easily open the fast view.
I configured my JUnit-Fastview to pop up if the tests fail:
Window->Preferences->Java->JUnit->Show the JUnit results view only when
an error or failure occurs
That's very nice as I don't have to care about the icon...
Take care,
Görge
|
|
|
Powered by
FUDForum. Page generated in 0.03316 seconds