Using TestNG 5.8, With the 6.7 beta of Netbeans (maven support 4.1.2), I am not able to run test on a single file. I am
obliged to test all the module. It tells me there is no test.
Furthermore, it will be very great super and wonderfull if I will be able to launch one single test.
could you attach a sample project? are you using the optional (alpha/beta) testng support? or only the default maven
It is very difficult to reproduce. Because sometimes it works. I try to find a receipe to make it always failed.
I will attach a sample project.
Created attachment 81526 [details]
Projects used to test
I play almost half an hour with the two projects : modify poms use Ctl-Tab to swith test use clean and sometimes it
does not launch test. It looks like we lost the focus on the file but not.
the testng tests cannot be executed via compile on save execution, we had the relevant condition there to exclude them
but the comparison method was wrong and didn't work. fixed.
in 6.7 it can be workarounded by disabling CoS for tests
OK thanks ! turnaround seems to work with 6.7 RC1
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milos Kleint <email@example.com>
Log: #164368 wrong comparison method used to exclude testng based tests from compile on save ant based execution
The fix has been ported into the release67_fixes repository.
Product Version: NetBeans IDE 6.7.1 RC (Build 200907162301)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 16.0-b03
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Verified in 6.7.1 RC