With the surefire plugin, you can also exclude somes tests with the excludes tags: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#excludes
Jeff MAURY On Sat, Jun 28, 2008 at 11:56 AM, Niranjan Deshpande <[EMAIL PROTECTED]> wrote: > I got the link to the maven-junit4.x plugin here > https://maven2-junit4x.svn.sourceforge.net/svnroot/maven2-junit4x > > but isnt there a jar available as usual it is the case with other plugins. > > On Fri, Jun 27, 2008 at 9:23 PM, André Kelpe < > [EMAIL PROTECTED]> > wrote: > > > 2008/6/27 Geoffrey Wiseman <[EMAIL PROTECTED]>: > > > On Fri, Jun 27, 2008 at 11:32 AM, Niranjan Deshpande < > > [EMAIL PROTECTED]> > > > > > Well, first of all, i'll admit that I don't know if this is possible, > and > > if > > > so, how. If you're using JUnit 3.8.X, you might be able to make this > > happen > > > with a custom JUnit Suite. Maybe someone else will have a better > > > suggestion. > > > > With Junit 4.x you can also create TestSuites even if the syntax is a > > bit quirky. > > > > > Secondly, can I ask why you want to do this? Generally, having tests > > rely > > > on the order of execution would be something I'd try and avoid. > > > > I would go further and say it can become a nightmare to maintain and > > debug, but if you still want to go that route, rename all your test > > classes to something that does not match maven's search pattern for > > test classes and put all of them in custom TestSuites (again: very bad > > idea!). > > > > André > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Regards, > Niranjan Deshpande > > "Shut yourself from the world and create the reality you want" > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal
