Cool thanks. I need to do some reading. However we're talking cross-purpose here.
I have not hinted that you should drop your surefire plugin. We were discussing problems about embedding Ant task in java code. You said that you could not succeed in embedding the JunitTask task. I was proposing to help you if you could show me some code that does not work. Thanks -Vincent > -----Original Message----- > From: Jason van Zyl [mailto:[EMAIL PROTECTED] > Sent: 04 May 2004 14:45 > To: Maven Users List > Subject: RE: [maven2] Anything Groovy in Maven2? > > On Tue, 2004-05-04 at 04:16, Vincent Massol wrote: > > > Forget this! I was wrong. They are the same. Jason could you please > > point me or attach your code that doesn't work? I'm happy to help making > > it work. It really works for me. > > I have already been using this for over a year now: > > http://cvs.surefire.codehaus.org/surefire/ > > Which was originally based on: > > http://www.artima.com/suiterunner/ > > Some of their reasons are outlined here: > > http://www.artima.com/suiterunner/why.html > > Some other contributing reasons the ease with which scriptable testing > is with surefire: I have little jython module that I used before groovy > came into existence but I will make a groovy module. > > That said it absorbs all JUnit tests, it's really just another test > runner. Surefire has its own notions for testing which are borrowed from > Suiterunner but 90% of tests I've written and used with it so far and > used with Surefire are JUnit tests. Currently I'm getting the Groovy > tests to run with Surefire and they require no forking due to the > classloader isolation provided by Surefire. Bottom line is that anyone > using JUnit constructs aren't affected but you get the benefit Surefire > Batteries for which I have little jython scripted web > functional/acceptance testing modules and a little xmlrpc module right > now and things like a fixture for an entire test. > > In any case after a year - 18 months of using Surefire I'm not turning > back now. The Artima SuiteRunner site makes a case for a new generation > of testing framework. And many have always been annoyed with JUnit as > Cedric has made something else too: http://beust.com/testng/. > > All the tests for maven-components are JUnit tests, but they are execute > by Surefire. I will eventually convert them to Batteries in order to > script them/generate parts of them which is easy with Surefire and I > would also like to incorporate some of Cedric's ideas like testing > groups and any other cool notions he comes up with. > > > > -- > jvz. > > Jason van Zyl > [EMAIL PROTECTED] > http://maven.apache.org > > happiness is like a butterfly: the more you chase it, the more it will > elude you, but if you turn your attention to other things, it will come > and sit softly on your shoulder ... > > -- Thoreau > > > --------------------------------------------------------------------- > 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]
