ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariano Benitez <mari...@fuegolabs.com>
Subject Re: Conditionally using a junit formatter
Date Mon, 26 May 2003 12:13:09 GMT
I workaround this problem by using a property, and making use of the 
feature that do not overwrite the property once defined.



Erik Hatcher wrote:

> No, there isn't.  But it'd be trivial to add if/unless clauses to the 
> formatters.
>
> Care to submit a patch for this?  *nudge nudge*  :)
>
>     Erik
>
>
> On Friday, May 23, 2003, at 02:21  PM, Eli Tucker wrote:
>
>> Is there a way to conditionally use a junit formatter?  I want to avoid
>> outputting the XML formatted test results unless the user wants to
>> generate reports. I would like to avoid having mostly duplicate test
>> targets ("test" and "test-xml-formatter") if possible.
>>
>> I'm doing this in an effort to keep the time it takes developers to
>> execute unit tests to a minimum (executing tests on my machine takes
>> twice as long with the XML formatter on).
>>
>> Thanks,
>>  - Eli
>>
>> http://nerdmonkey.com
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org



Mime
View raw message