Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JUnit - enhancement?
JUnit - enhancement? [message #171247] Mon, 02 August 2004 23:30 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:why does the editor work against the code-formatter?
Next Topic:java.lang.UnsatisfiedLinkError: no JMagick in java.library.path
Goto Forum:
  


Current Time: Thu May 01 19:24:50 EDT 2025

Powered by FUDForum. Page generated in 0.03264 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top