I've actually moved our primary Web site over to TestNG. All of our tests
were junit and we had no problem running them with TestNG. TestNG has a
junit compatibility mode as well as a converter app that will add in
annotations where appropriate. I did get burned by the converter creating
cyclic graphs due to multiple setUp() calls, but I think that's been taken
care of.
The net of it is that we should be able to run the tests are are with TestNG
right now. The converter tool would make the migration effort itself a bit
less painful.
-- KevinOn 2/27/06 12:33 PM, "Cris Daniluk" <cris.danilu..mail.com> wrote:
> Anyone have experience using TestNG and JUnit side-by-side? There are > thousands of test cases that couldn't possibly be ported in a single > effort.. > > On 2/27/06, Bill Dudney <bdudne..pache.org> wrote: >> Hi Kevin & All, >> >> I've been using TestNG for a while on one of my projects and I love it. >> >> I'd be happy to help that that going as well. One caveat though, the >> m2 stuff is not quite there yet. There is a bug in the surefire >> plugin that the TestNG folks are working hard to get rid of with the >> surefire team so it should not be long. >> >> TTFN, >> >> Bill Dudney >> MyFaces - myfaces.apache.org >> Wadi - incubator.apache.org/wadi >> >> >> >> On Feb 27, 2006, at 8:31 AM, Kevin Menard wrote: >> >>> This week is going to generally be hell for me, but next week opens >>> up a >>> bit, so I intend on reading through the spec and looking at the JPA >>> stuff >>> more closely. It doesn't look like a terrible amount has been >>> accomplished >>> in this space thus far though, so it's probably not a big deal. I >>> just >>> wanted to let you guys know. >>> >>> Additionally, since the JPA work is going to be the guinea pig for >>> maven 2, >>> did we want to give TestNG a try as well? I know that idea has >>> been batted >>> around briefly before. If we're happy with JUnit, then I'm fine with >>> sticking with it, but TestNG does have some nice features. >>> >>> -- >>> Kevin >>> >>> >> >>
This archive was generated by hypermail 2.0.0 : Mon Feb 27 2006 - 13:45:46 EST