ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahehheh <ps...@ingdirect.ca>
Subject How to send a data from ant to JUnit class?
Date Thu, 03 Aug 2006 19:46:27 GMT

Hi, i am now working with ant to test several Junit classes.
One of Junit classes is Log In command, and this uses a specific id and
password to connect to database.
(Basically i am testing the connection function)
But my manager wants me to put these id and password values into a
properties file.
So when user runs ant(buildall.xml), these id and password values will be
sent to the test class, and the test class use these values to connect to
database.
My question is that:
is it possible to sent a value from ant to test class?
My manager mentioned <input> function, but it doesn't help me much.
Can anyone please help me?
Thanks in advance :) 
-- 
View this message in context: http://www.nabble.com/How-to-send-a-data-from-ant-to-JUnit-class--tf2047679.html#a5639439
Sent from the Ant - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message