> -----Original Message----- > From: helix84 > Sent: Tuesday, November 27, 2012 1:08 PM > Subject: Re: [Dspace-devel] Howto run just one test or all tests of just one > test class > > On Tue, Nov 27, 2012 at 12:38 PM, Becker, Pascal-Nicolas <p.becker@tu- > berlin.de> wrote: > > mvn -Dmaven.test.skip=false -Dtest=ItemTest package > You're running the "package" target. It's supposed to be the "test" target. I tried it first with the test command, but then I wanted to be sure, that everything got build. I thought that the package target would start the test target, if -Dmaven.test.skip=false is set...
> But I just tried and it doesn't work anyway. I can't offer you an explanation > why, it might be that it's supported only in surefire 2.8+ (but reportedly, > there's a bug in 2.12). But you could try a workaround - remove the excludes > section and replace it with: > <includes> > <include>**/ItemTest*</include> > </includes> In my maven repository I found two surefire versions (2.6 and 2.12). As mvn runs no tests when -Dtest=<some class> is set, I suppose it’s the Bug. Thanks for the hint to remove the excludes section, I' ll try it in the next few days. Thanks for your help! Regards, Pascal ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
