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.
Summary: | TestNG : not able to test single file | ||
---|---|---|---|
Product: | projects | Reporter: | lforet <lforet> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Projects used to test |
Description
lforet
2009-05-04 09:41:50 UTC
could you attach a sample project? are you using the optional (alpha/beta) testng support? or only the default maven support? 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. http://hg.netbeans.org/main/rev/78383e7bdd6d 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) Changeset: http://hg.netbeans.org/main-golden/rev/78383e7bdd6d User: Milos Kleint <mkleint@netbeans.org> Log: #164368 wrong comparison method used to exclude testng based tests from compile on save ant based execution v. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/87393a2db829 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 |