Hi Qinxian!
Thank you for responding!
I have just forwarded Kedar's comparison of JUnit4 and TestNG, please
review it and let us know your thoughts.
Regarding configuration, any test framework, whether it's TestNG or
JUnit4, will need an extra layer to handle the administrative tasks -
this is a critical piece - and one that needs to be carefully thought
our for the framework to be successful.
I noticed that you are not a subscriber to our quality_at_glassfish mailing
list, could you please join? That way I won't have to manually approve
your emails each time.
Regards,
Geoff
ÇØÏÍÏò wrote On 04/25/06 18:51,:
> 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 <mailto: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 <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
> <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> <mailto:dev-help_at_glassfish.dev.java.net>
>
>
>
>
> --
> ÏòÇØÏÍ