geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@coredevelopers.net>
Subject Re: [build] Only run tests if something changed?
Date Fri, 15 Aug 2003 22:03:59 GMT
On Friday, August 15, 2003, at 03:48 PM, Alex Blewitt wrote:

> On Friday, Aug 15, 2003, at 20:45 Europe/London, Bruce Snyder wrote:
>
>> This one time, at band camp, Dain Sundstrom said:
>>
>> DS>Can we change the build system to by default only run the module 
>> unit
>> DS>test if something changed in the module?
>> DS>
>> DS>When we get integration tests, I would like the default to by 
>> default
>> DS>only run the integration if something changed in the domain being
>> DS>tested, but that is for the future.
>>
>> This is a good argument, especially as more tests are added. Does 
>> anyone
>> know how this can be accomplished in Maven?
>
> I can see where there'd be situations where you may not expect that, 
> though. For example, JavaMail depends on Activation, and I could 
> change something in Activation (and only re-run Activation tests) 
> which breaks something later in JavaMail.

This is exactly what I want.  If I change anything in the module (at 
all) or if one of my dependencies is new, run all of the module tests, 
otherwise don't.

-dain

/*************************
  * Dain Sundstrom
  * Partner
  * Core Developers Network
  *************************/


Mime
View raw message