Thanks Marc. I am using netbeans and running them as Junit tests. Unlikely there is a bug in netbeans, so the integration between maven, groovy and junit has a little bug. Here there is a post related to that:
http://forums.netbeans.org/viewtopic.php?p=44114 Thanks, Hernan 2009/7/11 Marc Guillemot <[email protected]> > Hi, > > if you write your tests in Groovy, what about using "normal" Java tools > to select and run your tests as JUnit tests? > > Cheers, > Marc. > -- > Web: http://www.efficient-webtesting.com > Blog: http://mguillem.wordpress.com > > Hernan Castagnola wrote: > > Sorry for the easy question. But I have been investigating and I cound > > solve this: > > > > I have just this test case in the alltests.xml > > > > <project default="test"> > > <target name="test" description="runs all the tests"> > > <ant antfile="Blah.xml" /> > > </target> > > </project> > > > > however when I go to the project folder and I run the webtest.sh script, > > 3 groovy scripts runs after the blah.xml test case is completed. I still > > can't find out in which file I set up which groovy test should be run. I > > tried to do this: > > > > <project default="test"> > > <target name="test" description="runs all the tests"> > > <ant antfile="Blah.xml" /> > > <ant antfile="Blah2.groovy" /> > > </target> > > </project> > > > > > > To run that groovy test. But it failed. > > > > > > Does anyone know where do I set up which groovy tests should be run? > > > > Thanks! > > > > Hernan > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest >

