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.
Running unit tests via ctrl+F6 is fine. Sometimes after the test I go to other file, and then I want to rerun the test. There is an icon 'Rerun' in the Test results window, but there is no corresponding option in the menu and no keyboard shortcut for this. It would be nice to have a shortcut to run the test again.
Please evaluate, thanks.
*** Bug 210978 has been marked as a duplicate of this bug. ***
There are also missing keymap shortcuts in (PHP/PHPUnit) to: - rerun tests - rerun failed tests These would be very useful. Again, there icons in the Test Results view, but the ability to set shortcuts is missing.
Created attachment 131042 [details] a patch This patch makes the rerun/rerun failed actions available so that the user can set a shortcut in options. It would be good to have a standard shortcut though. I the patch I have set them to D-J and D-F10 respectively just as an example. Honza any comments on if such shortcuts should be set by default for those two actions and if yes which ones? Thank you
D-J seems OK, but D-F10 is already used for a window system action - it gives focus to tabs in multi-tabs documents. It is not a global action (it can be invoked only from editor) but I'm not 100% sure we can use it. Petr Somol plans to do a full review of shortcuts in the IDE so I would suggest to wait until it's finished. It is possible there are better candidates for these shortcuts.
Changeset: 5288c5d9f2f3 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2013-02-14 11:28 Message: Issue #189113 - Rerun last unit test
Integrated into 'main-golden', will be available in build *201302152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5288c5d9f2f3 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #189113 - Rerun last unit test