quality@glassfish.java.net

Re: TestNG, JUnit4

From: ÇØÏÍÏò <xiangqinxian_at_gmail.com>
Date: Wed, 26 Apr 2006 09:51:09 +0800

Hi All,

JUnit or TestNG, it's a question.
From my views, JUnit do only single-method test, Or one-method test, just
like as a single method class, so it has no test occur from some points,but
I cann't do a group test like TestNG.
TestNG do a true class test, and override permitted, but it has a not good
configuration at least for me, and possible test dependency may be occurs.
So how do we make a choice and make thing at this choice?

I'd like to listening.


Regards,
qinxian
2006/4/21, carla mott <Carla.Mott_at_sun.com>:
>
> Resend to dev alias (correcting typo) for wider distribution.
>
>
> Geoffrey Halliwell wrote:
>
> >Hi All,
> >
> >Two of the unit test frameworks we have been looking at for GlassFish
> are:
> >
> > TestNG
> > ------
> > http://testng.org/doc/
> >
> > Junit4
> > ------
> > http://www.junit.org/index.htm
> >
> >TestNG is based on annotations, and has a flexible runtime
> >configuration, as well as dependent test methods, test groups, test
> >exclusion and failed test lists. TestNG also allows parallel testing
> >load testing and partial failures.
> >
> >JUnit4 was released in February and is the first major architectural
> >change in JUnit in years. The redesign is also based on annotations and
> >allows for a more flexible initialization and cleanup than it's
> >predecessors.
> >
> >We are currently looking for developers to help improve our unit testing
> >infrastructure, if you, or someone you know, might be interested in
> >contributing, please let me know!
> >
> >Thanks,
> >
> >Geoff
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>


--
ÏòÇØÏÍ