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.

Bug 166252 - Run single unit test
Summary: Run single unit test
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 4 votes (vote)
Assignee: Andrey Yamkovoy
: 180823 (view as bug list)
Depends on:
Reported: 2009-05-29 13:07 UTC by tboerkel
Modified: 2010-07-09 03:22 UTC (History)
3 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2009-05-29 13:07:59 UTC
It is only possible to "Run again" a failed unit test method. But it should be possible (like in Eclipse) to just run a
single unit test method.
Comment 1 puce 2009-07-25 11:35:09 UTC
I second that.
Comment 2 Alexei Mokeev 2010-05-05 07:57:33 UTC
*** Bug 180823 has been marked as a duplicate of this bug. ***
Comment 3 Andrey Yamkovoy 2010-07-07 14:11:12 UTC
Fixed in the main (changeset: 0f46f0ccfcec).
Comment 4 Jesse Glick 2010-07-07 14:56:38 UTC
Your introduced trash into the XML layer:

Please fix, and in the future use 'hg di' before committing and 'hg out -pv' before pushing to catch this kind of mistake.
Comment 5 Jesse Glick 2010-07-08 00:39:28 UTC
d0542fd3fe67 helped, but the apparently spurious definition of a position for the Navigate context submenu that you also added at the same time is still causing test failures:

Some modules conflict on the definition of position for Editors/text/x-java/Popup/goto: {, org.netbeans.modules.junit/2=100}
Comment 6 Quality Engineering 2010-07-09 03:22:29 UTC
Integrated into 'main-golden', will be available in build *201007090001* on (upload may still be in progress)
User: Andrey Yamkovoy <>
Log: Fix for #166252 - Run single unit test