Alas, we're making heavy use of the Spring testing infrastructure (which rocks), which happens to be JUnit-based. At this point, we're sticking w/JUnit... The TestNG groups feature is slick however.
thx anyway, Brad tvworks wrote: > > Use TestNG to run your tests in surefire and then you can use TestNG > groups. For example, > > mvn test -Dgroups=smoke-test > > -----Original Message----- > From: Michael McCallum [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 2:20 PM > To: Maven Users List > Subject: Re: Surefire support for 'smoke tests' > > refacator your artifacts... > > why make maven complicated > > On Thursday 13 September 2007 08:52, Brad from MA wrote: >> Hi, >> I have surefire working well running a full suite of tests. It is > bound >> to the test phase of the default lifecycle. The full suite of tests > is >> taking a long time (say 10 minutes and growing), and is onerous for >> developers to run on a frequent basis as part of their rapid > development >> cycles. >> >> To remedy this, I'd like to support the ability for a developer to > run >> a much quicker subset of the tests to provide more immediate feedback >> (seconds as opposed to minutes). Yes, it would not be as thorough >> (probably catches 95% of test failures), but the automated build > machine >> will always run the full test suite on every checkin to catch any > 'missed' >> failures. >> >> 1. How can I configure surefire to support more than one > 'configuration' of >> tests to be run? I have no problem as getting surefire to run any > desired >> subset of tests; the problem is supporting more than one configuration > of >> tests to be run. >> >> 2. Ideally developer would be able to type something like: 'mvn > smoketest' >> or 'mvn test -Dtest.smoke=true' to invoke the quicker subset of tests. > Any >> ideas on how to configure a pom to support something like this? >> >> Any help greatly appreciated, >> Brad >> >> p.s. I tried searching the forum for anything related to this, to no > avail. > > -- > Michael McCallum > Enterprise Engineer > mailto:[EMAIL PROTECTED] > > --------------------------------------------------------------------- > 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] > > > -- View this message in context: http://www.nabble.com/Surefire-support-for-%27smoke-tests%27-tf4431949s177.html#a12647048 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
