adding testng after removig of junit

Dr Andrew John Hughes ahughes at redhat.com
Tue Apr 12 06:01:40 PDT 2011


On 14:43 Tue 12 Apr     , Jiri Vanek wrote:
> On 04/12/2011 02:33 PM, Dr Andrew John Hughes wrote:
> > On 13:02 Tue 12 Apr     , Pavel Tisnovsky wrote:
> >> Hi all,
> >>
> >> as a person who is going to regularly run the IcedTea-web tests (I'd
> >> also like to add new test cases in the near future) I'd prefer if he
> >> really began to use TestNG.
> >>
> >
> > Why?
> >
> > (BTW, I think you want 'it' not 'he' if I'm reading the above correctly
> > and you're referring to IcedTea-Web)
> >
> >> Cheers
> >> Pavel
> >>
> >>
> >>
> 
> Why? It is simple. And I wrote it many times - testng have much better 
> output then junit. So it is with configuration.  Why are you ignoring my 
> posts?! Why have you not defend YOUR solution? I posted reasons to 
> switch to testng. You make me no reply except ignoring me.
> 

I already did.  We had an extensive discussion on this during the patch
development.  Please read the archives.  I'm not going to waste time
repeating myself.

In brief:

* With the current solution, we can directly produce the JTreg-like
output we want via our subclass and already do.  From what I
understand of the TestNG patch, it would produce XML and then we'd
have to convert it.  Exactly why is that better?

* Switching to TestNG also adds a mass of dependencies which aren't
needed with JUnit, making it harder for people to run the test suite.

Unless you can produce a clear example of why switching to TestNG
for IcedTea-Web is essential and which overrides the need for all
those additional dependencies, I see no reason to drop a solution that
works and has already been extensively reviewed.

> J.

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37



More information about the distro-pkg-dev mailing list