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.
In my project ("Java Project with Existing Ant Script" type), I have a separate directories for my application's source files and the unit test source files (each with the same package hierarchy, so that the tests can access package scope fields & methods). I have both these Source Package Folders specified in the project properties. If I create a new unit test using the File -> New File -> JUnit -> Test for Existing Class, there is a drop-down list for the Location which allows me to generate the test directly in my test sources folder. However, when creating a unit test for a class using the right-click Tools/JUnit/Create Test action, it always puts the resulting file in the same directory as the original class and I have to use cut & paste in the Explorer window to move it to the unit tests source tree. It would be useful if the RMB Create Tests dialog also contained a drop down list of the project's Source Folders, so that I can select to have the files generated directly in their desired location. I would have added this as a comment to Issue 47448, but it says in there "For all other comments ... please file separate issue reports", so I'm doing as requested ;-)
Andy, you did it right that you posted it as a separate issue, thank you. This problem has already been identified (see http://junit.netbeans.org/doc/UI-spec-NB-4_1.html). Development builds of NetBeans 4.1 are already modified so that the dialog already contains the drop-down list. The dialog will be probably changed once more (as well as the above referred UI specification). We will discuss further changes very soon (in less than 2 hours). If you have more comments to the dialog, please post them here as soon as possible so that we can discuss them, too.
If you have further comments on UI of JUnit, you can also post them to users@junit.netbeans.org (you need to be subscribe on the mailing list to see incoming e-mails, to subscribe, go to http://junit.netbeans.org/servlets/ProjectMailingListList).
The requested combo-box is there (in the dialogue) - marked as FIXED.