users@grizzly.java.net

Re: big questions

From: Ming Qin <mingqin1_at_yahoo.com>
Date: Wed, 21 Apr 2010 11:51:37 -0700 (PDT)

  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

 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.



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.