ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shailja kumari <>
Subject Re: How to test a junit test case against multiple value of a property
Date Mon, 26 Jul 2010 11:23:36 GMT

Used testing framework is Junit with Ant, that's the reason of this post. 
Thanks in advance for further help.

extract the property to an external class and then build two 
tests that mocks that class with each value. 

I passed the value of class property to Ant junit task like this

 <property name="JUNIT_PROPERTY.a.b.c"
              value="true" />

             <propertyref prefix="JUNIT_PROPERTY." />
                <mapper type="glob" from="JUNIT_PROPERTY.*" to="*" />

How can I test my test case on "true" as well as " false" value with the
help of JUNIT_PROPERTY.a.b.c.

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message