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.
Running a JUnit test with "Debug file" does not show the results in the "JUnit Test Results" pane. It works OK with "Run file". Using NB 5.5 RC2.
Confirmed, accepted. Tested on Windows 2003, NetBeans 5.5 FCS, JDK 1.5.0_11.
The same issue found with .... Product Version: NetBeans IDE Dev (Build 200707260307) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
This is caused by a mix of two issues: 1) The projects do not invoke tests with the Ant test launcher so the test results are too brief to provide any information useful for the test results window. 2) The JUnit module has some bugs in routines that analyse structure of the Ant task currently running.
I have fixed the second part of the fix - the parts in JUnit module that analyse running Ant tasks. Modified files: junit/src/org/netbeans/modules/junit/output/: JUnitAntLogger.java (1.23) JUnitOutputReader.java (1.38) Diffs: http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/JUnitAntLogger.java?r1=1.22&r2=1.23&diff_format=u http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/JUnitOutputReader.java?r1=1.37&r2=1.38&diff_format=u
The issue of not using Ant launcher for JUnit tests should be fixed in one step together with issue #98472 ("Debug of jUnit4 tests doesn't work") - see the suggested changes in the bug report.
Bug #98472 was just fixed and the applied changed also fix this issue. Marking as FIXED.