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.
Product Version: NetBeans IDE Dev (Build 201205110400) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Mac OS X version 10.7.3 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 ----------- - create java se project - create from template testNG test case - uncomment test method, save file, run it (shift-f6) --> test passes which is ok - now add to test method just 'assert false;' - save file, run it (shift-f6) --> test passes which in not ok now!
It seems that it is only reproducible with assert false; kind of statement. If assertEquals() is used then I get the expected behavior. This should fix the issue: http://hg.netbeans.org/core-main/rev/9c250faa59a7
Integrated into 'main-golden', will be available in build *201205150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9c250faa59a7 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #212386 - Running test with CoS does not reflect changes in test