This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 56661 - Missing help at "critical moment"
Summary: Missing help at "critical moment"
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Kenneth Ganfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 18:01 UTC by Vince Kraemer
Modified: 2008-03-14 12:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2005-03-18 18:01:17 UTC
JavaHelp topic ID org.netbeans.modules.junit.JUnitCfgOfCreate

There are instances when the JUnit Create Tests menu item opens a dialog that
has only Cancel and Help enabled.

The dialog has a message about "why" it has opened without having an enabled
Create button.  It doesn't have a good message about "what do I do to get to the
point where I can keep doing what I want; create junit tests".

Create directory for tests in your project.

I pressed the enabled help key...

This is related to enhancement 56660 (indirectly).
Comment 1 Ondrej Rypacek 2005-03-25 16:52:08 UTC
reproduced. Either the mentioned enhancement will be implemented or the help
topic will be supplemented. 
Comment 2 Roman Ondruska 2007-08-08 14:37:54 UTC
From the usability point of view, the dialog mentioned above can (and should) be definitely improved, but it is too late
for NB 6. My suggestion is to provide an explanation via Help (button) in NB 6. Reassigning for an evaluation.  
Comment 3 Patrick Keegan 2007-08-08 15:04:30 UTC
Ken, can you look at this?
Comment 4 Kenneth Ganfield 2007-10-02 12:05:19 UTC
need more information
how can this be reproduced?

what is the message in the dialog and what type of information would help the user?
Comment 5 Kenneth Ganfield 2008-03-11 10:35:03 UTC
It appears that the IDE now checks for the existence of the test folder.
if no test folder is found there is a warning that the tests cannot be created.

Will work on adding some additional information to the warning dialog to help user understand how to resolve the problem.
Comment 6 Kenneth Ganfield 2008-03-14 12:00:13 UTC
Improved text in warning dialog that appears when test package folder was not found. 
the new text says to use the project properties to designate a test package folder:

Unable to locate test package folders for folder "{0}". The project must contain a test package folder to create tests.
You can designate test package folders for your project in the Sources pane of the project Properties dialog.

will add additional info and link to help topic for Sources pane of project properties.

marking as fixed