These are all very good suggestions.. Unfortunantly they are all work arounds to the fact that I can't see the unit test results. But also, it is because in fulcrum cache we have two unit tests. One is a quick "is it working" and another is a longer running "test the cache for 2 minutes" test. I can imagine that there are lots of situations where you wouldn't wan to run certain tests under gump... Things that might put undue strain on the hardware for example.
Being able to pick up some sort of system property would be perfect. I still want Gump to fail my cache code if the quick easy test fails.. But not to even run the more comprehensive test... I'll definitly play with the unit test failure ignores setting... Eric > -----Original Message----- > From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 02, 2004 6:20 PM > To: Gump code and data > Subject: Re: Seeing results of Maven unit tests? > > > On Wednesday 03 November 2004 01:08, Eric Pugh wrote: > > I've seen this error periodically, and to be honest, I don't like this > > test.. I don't really want to run it except on demand.. Is there any > > environment variable that tells me I am running in Gump that I can get? > > Anything like: > > > > if (System.getProperty("gump")==true) > > ignore test... > > Would setting the "goal" attribute in the <maven> element to > something like > "jar" work?? > I think that you can also tell Maven not to report testcase > failures as errors > with a property. Then the question is if that property can be fed > through the > Maven element, and I think so. > > Cheers > Niclas > -- > +------//-------------------+ > / http://www.bali.ac / > / http://niclas.hedhman.org / > +------//-------------------+ > > > --------------------------------------------------------------------- > 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]
