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 201205150400) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 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 ------------------ - having failing testNG test in testuite and running suite results in build failure. This is inconsistent with JUnit and causes focusing Output window after suite execution. To reproduce: - open sample project http://wiki.netbeans.org/wiki/images/c/c0/JUnitSampleProject_TS_68_JUnit.zip - select 'testtorun' package, invoke popup, Tools|Create tests, select testNG, otherwise leave defaults - testcases and testsuite are generated - run suite - inspect failures in test results window - rerun tests from test res. window -> after test execution, output window is focused which is annoying.
seems like '-post-test-run-single' target needs 'ignore.failing.tests' property to be set in order not to fail.
Thank you for the evaluation. Fixed: http://hg.netbeans.org/core-main/rev/c89a0e6f1bde
Integrated into 'main-golden', will be available in build *201205170950* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c89a0e6f1bde User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #212576 - Failed test should not fail whole build process (and therefore focus output window)