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]

Reply via email to