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.
I really miss the feature to be able to generate a test class without navigating to the projects/files, then using a two level deep context menu entry. I therefore suggest a) add "Create test class" to the <alt><insert> generate menu b) If there is not test class and user uses <alt><ctrl>-T to switch to the test using a bubble or dialog to allow the user to create a test
Just found the shortcut <ctrl><shift>-U, nevertheless <alt><insert> could be considered as well as the intention of the user to switch to a test (which not yet exists). Please mention the shortcut(s) in https://netbeans.org/kb/docs/java/junit-intro.html
(In reply to everflux from comment #0) > I really miss the feature to be able to generate a test class without > navigating to the projects/files, then using a two level deep context menu > entry. > > I therefore suggest > a) add "Create test class" to the <alt><insert> generate menu ashortcut already exists for that as you said. Please, use the Options->Keymaps to change it in order to meet your needs. > b) If there is not test class and user uses <alt><ctrl>-T to switch to the > test using a bubble or dialog to allow the user to create a test fair enough. Planning for next ersion. Thank you for reporting
Fixed: http://hg.netbeans.org/core-main/rev/3445d9120af9
Integrated into 'main-silver', will be available in build *201310150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3445d9120af9 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #228656 - Trigger generate test class with alt-insert