Bug 178483 - [JUnit] Warnings on the "New JUnit Test Case" dialog are not obvious enough
Summary: [JUnit] Warnings on the "New JUnit Test Case" dialog are not obvious enough
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 23:56 EDT by Wayne Beaton CLA
Modified: 2007-03-21 07:59 EDT (History)
0 users

See Also:


Attachments
New JUnit Test Case dialog (23.33 KB, image/png)
2007-03-20 23:58 EDT, Wayne Beaton CLA
no flags Details
Another example (23.52 KB, image/png)
2007-03-21 00:01 EDT, Wayne Beaton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne Beaton CLA 2007-03-20 23:56:38 EDT
Perhaps it's just my little brain, but...

On the "New JUnit Test Case" dialog, warnings are displayed at the bottom of the dialog and I tend to miss (i.e. not see) them.

For example, the warning that "JUnit 4 requires a Java 5 project" is pretty easy to miss (I'll attach a screenshot).

Shouldn't these warnings be indicated at the top of the dialog?
Comment 1 Wayne Beaton CLA 2007-03-20 23:58:09 EDT
Created attachment 61501 [details]
New JUnit Test Case dialog

In this screenshot, the warning that the JRE version is incorrect is shown at the bottom. I don't always see this warning.
Comment 2 Wayne Beaton CLA 2007-03-21 00:01:06 EDT
Created attachment 61502 [details]
Another example

Again, the warning that JUnit is not on the classpath is not obvious. The warning at the top that the "Superclass does not exist." leads me to look around for a solution, but it would be more helpful if the warning shown below replaced what is shown at the top.

I'm also not sure that I'm comfortable with the use of a hyperlink in this particular case, but I think that's a whole different discussion.
Comment 3 Martin Aeschlimann CLA 2007-03-21 07:59:20 EDT
Agreed, we should go back to the old solution with the dialog before the wizard. But to do this correctly we should allow other plugins to hook in so PDE can suggest to add a dependency to the org.junit plug-in.