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 213772 - [72cat] Test Results window will appear only for whole project test and not for single tests when Compile on save is off
Summary: [72cat] Test Results window will appear only for whole project test and not f...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 20:19 UTC by crazyjavahacking
Modified: 2012-06-11 14:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-06-07 20:19:35 UTC
Test Results window will appear only if I executed the test for whole project (and some tests failed), but not when I execute tests on a test class or test suite when Compile on save is off (Java SE application).

This does not work or both JUnit 3 and JUnit 4.


NetBeans Dev 201206070001, JDK 6u32 32bit
Comment 1 crazyjavahacking 2012-06-07 20:42:18 UTC
The window will also not be opened if I rerun failed or error test (for passing test it works).
Comment 2 Tomas Danek 2012-06-08 12:08:40 UTC
Product Version: NetBeans IDE Dev (Build 201206080001)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
--------------------------------

On my mac i see behavior that window is opened, but not focused (because output window steals focus - ant execution fails because of faled test)

- java se project (ant)
- CoS off
- running single test class from popup on node
- Junit 4
Comment 3 Theofanis Oikonomou 2012-06-08 13:14:29 UTC
Thank you Tomasi. I can also reproduce following your steps. Fixed: http://hg.netbeans.org/core-main/rev/1b7d123e1bc8
Comment 4 Jesse Glick 2012-06-11 14:04:59 UTC
...and a java.j2seproject test fix in 13a26ca4d313.