Friday, November 25, 2005

Junit on Ant

http://ant.apache.org/manual/OptionalTasks/junit.html
http://blog.ideoplex.com/software/java/antTutorial4.html
http://www.admc.com/blaine/howtos/junit/ch10.html
http://junit.sourceforge.net/doc/faq/faq.htm#running_5

- Junit
-- junit3.8.1 (junit.jar)
-- junit-addons-1.4.jar

copy "junit.jar" and "junit-addons-1.4.jar" to the lib directory where you have ant installed (eg. C:\Program Files\apache-ant-1.6.5-bin\lib\)

If you are running on Eclipse: Windows > Preferences > Ant > Runtime > Ant Home Entries > Add External JARs... > [locate and select "junit.jar" & "junit-addons-1.4.jar"]