Community
Participate
Working Groups
Offer quick assist on tests to add/remove @Ignore. The quick assist should be available on all @Test methods in the CompilationUnitEditor, and on non-binary tests in the JUnitView. It should remove @Ignore from ignored tests and add @Ignore to non-ignored tests. When adding @Ignore (from editor or from JUnit view), the editor should be activated, and the caret should be placed right after the @Ignore, ready for the user to enter an explanatory message. In the JUnit view, both quick assists should also be available on multi-selection (do not open the editor in this case).
'quick assist' seems the wrong here, typing in the editor is as fast as quick assist. But IMO it would make sense to have a context menu action on one or more tests, maybe also on a test case.
The advantages of quick assists (in contrast to typing) is that they can also add/remove the import for @Ignore, and that they can show up and go away context-sensitively. I agree that in the JUnit view, a context menu action is probably easier to find than a quick assist.