Community
Participate
Working Groups
Present JUnit view allows to scan whole project and it is able to find testcases and test suites. Unfortunately it runs them all immediately. Please add an option to scan project and show all existing test cases and test suites and then allow to select test cases and run only selected ones. It is even more important to have such feature if TestSuite generating testcases dynamically based on some external test data. Consider the following code as an example: public class SomeTest extends TestCase { private String param; public SomeTest(String name, String param) throws Exception { super(name); this.param = param; } public void testSomething() { assertNotNull(param); } public static Test suite() throws Exception { TestSuite suite = new TestSuite("NAUPDTRoundtrip"); suite.addTest(new SomeTest("testSomething", "one")); suite.addTest(new SomeTest("testSomething", "two")); suite.addTest(new SomeTest("testSomething", null)); return suite; } }
related to bug 36449
I'd like to propose UI interaction to select tests. When suite is choosen, test runner should scan it for testcases and then display the whole tree in the UI. There should be a checkbox for each test in the tree that allow to select it for the execution. There should be buttons to select and unselect all tests. And there should be button to run all selected tests and also separate one (or just popup menu) to run currently selected test. So, once scanned, that tree should stay in testrunner view UI and run/rerun actions should just update testcase state in the tree and in detailed panel.
Any chance to get this feature implemented in 3.1 release? Thank you.
Erich, please reassign to the right person
thanks for the reminder Markus is now the owner of the junit integration
I would love to see this feature implemented too. Maybe the checkboxes suggested by Eugene are a bit of overkill, but if I could just multi-select elements in the JUnit runner view and then run just the selection, that would be great. Today, I can right-click on a single test case and run just that. But often I'd like to run 3 tests that are somewhat similar. Being able to multi-select them with Ctrl-Click, and Shift-Click would be great!
*** Bug 391243 has been marked as a duplicate of this bug. ***