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.
Created attachment 99113 [details] Project for reproduction When you have parametrized Junit 4 tests and some of the failed then you can't re-run failures. The error message: /avm/.netbeans/6.9beta/var/cache/executor-snippets/junit.xml:82: The following error occurred while executing this line: /avm/.netbeans/6.9beta/var/cache/executor-snippets/junit.xml:60: Invalid specification of test methods: "someTestMethod[1]"; expected: comma-separated list of valid Java identifiers BUILD FAILED (total time: 0 seconds) Please refer to attached project. Steps: - Select PTest.java and invoke "Test File" - In Test Results select someTestMethod[1] and invoke "Run Again"
Still the case for the trunk
When running a parameterized test class, instances are created for the cross-product of the test methods and the test data elements. So you cannot run/debug only one test method. Removing the actions "Run Again" and "Debug" in such a case. Fixed: http://hg.netbeans.org/core-main/rev/1d2f898256d7
Integrated into 'main-golden', will be available in build *201210280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1d2f898256d7 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #186274 - Support Re-Run for parametrized failures