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.
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).
reproduced. Either the mentioned enhancement will be implemented or the help topic will be supplemented.
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.
Ken, can you look at this?
need more information how can this be reproduced? what is the message in the dialog and what type of information would help the user?
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.
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