Hi Ming Qin,
> With netbeans and JUnit , NetBeans can instruct Maven to Skip
> Tests for any build executions not directly related to testing.
> ( tools-->options--->Miscellaneous-->Maven --->check box -skip tests
> for any build execution not directly related to testing
I think the maven plugin for Netbeans works with testng the same way.
So when you check the "skip tests" box - NB will skip entire testing
phase.
> Can you guys give links about installing testNG plugin in NetBeans
> 6.5 or above? I would like to have a tryout with a combination of
> NetBeans, Maven and TestNG plugin of NetBeans.
I'm not aware of any. I'm using NB 6.8 and its maven plugin doesn't
make any difference between junit and testng tests. Though Igor
mentioned that NB recognizes junit parameterized tests, testng - not.
WBR,
Alexey.
>
>
>
> Ming Qin
> Cell Phone 858-353-2839
>
> --- On Wed, 4/21/10, Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM> wrote:
>
> From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
> Subject: Re: big questions
> To: users_at_grizzly.dev.java.net
> Cc: dev_at_grizzly.dev.java.net
> Date: Wednesday, April 21, 2010, 9:14 AM
>
>> • Does anyone have any objections to me migrating our tests from
>> junit to testng? I much prefer testng and we get quite a bit more
>> control and features for very little effort. This is probably the
>> least contentious of the two but I wanted to throw that out there.
> IMO it could be a good idea.
> Today I've reworked HTTP SuspendTest in order to test the HTTP
> response suspending in the HTTPS mode. And I like the way I was able
> to do it using testng @DataProvider, So instead of writing separate
> tests for HTTP and HTTPS, we have a single test set driven by
> "isSslEnabled" parameter.
> Regarding Netbeans support - it could be better for sure. For
> example Netbeans test report doesn't distinguish parameterized
> tests, in my case in SuspendTest, when each test is being run twice
> in two different modes HTTP/HTTPS, Netbeans reports that the test
> was run just once, and if HTTP succeeded and HTTPS failed - Netbeans
> reports that the test was passed successfully.
>
> WBR,
> Alexey.