Yep, I'm a big fan of TestNG. It's annotation driven.
It has a much better model for organizing the tests (into groups) and controlling which tests run when. It can run tests in parallel, which actually makes a difference on dual core monsters like my home desktop. It generates a much more comprehensive HTML report. It allows you to perform setup and teardown for many tests; this allows it to begin to move from pure unit testing towards integration testing. For example, you can start up Jetty, run a bunch of tests against it, then shut it down. You can do similar things for database access. The Eclipse plugin is almost there (relative to the very mature JUnit plugin). On 8/23/06, Henri Dupre <[EMAIL PROTECTED]> wrote:
I second that TestNG is no harder to learn than Junit. Actually I find TestNG documentation much better than the current JUnit 4. TestNG has an excellent Eclipse plugin... What I like better about TestNG is that it evolves often and has many more features than JUnit. On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Really? I didn't feel like TestNG was any harder to learn than junit...In > fact it felt like it made more sense than the former ;) > > Like many things, junit4 is simply a response to TestNG. There is so much > more going on. > > I think they also use it in a couple places at google. (maybe I'm wrong, > but > the creator is a senior eng there) > > I'm sort of a small contributor to the library as well, so my opinions are > definitely biased... > > On 8/22/06, Paul Field <[EMAIL PROTECTED]> wrote: > > > > > > JUnit 4 is already available (and supported in IDEs such as Eclipse 3.2) > - > > see www.junit.org > > > > Here's a couple of articles that describe some of the JUnit 4 features: > > > > > http://www.instrumentalservices.com/index.php?option=com_content&task=view&id=45&Itemid=52 > > http://www.devx.com/Java/Article/31983/0/page/1 > > > > However, TestNG is still far ahead in terms of features. Their home page > > lists some of the features (http://testng.org/doc/). It does have a > bigger > > learning curve than JUnit but then it does a lot more :-) > > > > Paul > > ------------------ > > Paul Field > > Global Markets Research IT > > Deutsche Bank > > > > news <[EMAIL PROTECTED]> wrote on 22/08/2006 16:33:42: > > > > > I do seem to recall a description of the upcoming JUnit version which > > seem > > > much better > > > > > > "Vinicius Carvalho" <[EMAIL PROTECTED]> skrev i en meddelelse > > > news:[EMAIL PROTECTED] > > > > Not better, WAY better! I like Junit and what they've done for the > > > > comunity, but testNG ROCKS!!! > > > > > > > > On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > >> Because TestNG is better ;) > > > >> > > > >> On 8/21/06, xVik <[EMAIL PROTECTED]> wrote: > > > >> > > > > >> > > > > >> > Yesterday i reed a last post on Howars's blog about tapestry > > testing > > > >> > and i > > > >> > wonder why he choose tastNG not JUnit? > > > >> > -- > > > >> > View this message in context: > > > >> > http://www.nabble.com/Why-Howard-choose-testNG-in-tapestry- > > > test-module-tf2144189.html#a5919185 > > > >> > Sent from the Tapestry - User forum at Nabble.com. > > > >> > > > > >> > > > > >> > > > --------------------------------------------------------------------- > > > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >> > For additional commands, e-mail: [EMAIL PROTECTED] > > > >> > > > > >> > > > > >> > > > >> > > > >> -- > > > >> Jesse Kuhnert > > > >> Tapestry/Dojo/(and a dash of TestNG), team member/developer > > > >> > > > >> Open source based consulting work centered around > > > >> dojo/tapestry/tacos/hivemind. > > > >> > > > >> > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --- > > > > This e-mail may contain confidential and/or privileged information. If > you > > are not the intended recipient (or have received this e-mail in error) > > please notify the sender immediately and destroy this e-mail. Any > > unauthorized copying, disclosure or distribution of the material in this > > e-mail is strictly forbidden. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Jesse Kuhnert > Tapestry/Dojo/(and a dash of TestNG), team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. > > -- Henri Dupre Actualis Center
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com