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

Summary: Run single unit test
Product: java Reporter: tboerkel <tboerkel>
Component: JUnitAssignee: Andrey Yamkovoy <kaktus>
Status: RESOLVED FIXED    
Severity: blocker CC: hannehomuth, jglick, puce
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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:

http://hg.netbeans.org/main/diff/0f46f0ccfcec/junit/src/org/netbeans/modules/junit/resources/layer.xml

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:

http://deadlock.netbeans.org/hudson/job/trunk/8665/testReport/org.netbeans.core.validation/ValidateLayerConsistencyTest/testLayerOverrides/

Some modules conflict on the definition of position for Editors/text/x-java/Popup/goto: {org.netbeans.modules.java.editor/1=500, 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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0f46f0ccfcec
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix for #166252 - Run single unit test