Hello -
I'm new to this group and just as new to using JUnit. While I am able to
create and execute simple test cases, what I am really looking to do is
to test my classes in their real-world environment: packaged in jar files.

I'm unclear, however, how to do this. If I run an Ant build, and create
a jar file with all the classes in it (as I always do), how do I then
run the jUnit tests against the classes in this .jar?

I suspect it has something to do with making adding a jUnit task to the
Ant build file that contains a "java -cp..." style command pointing to
the files in the jar? Is this the right way to go? Does anyone have a
sample build file that does this?

Thanks for any help. I look forward to improving my code using unit tests.
M.




Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada

Web Bug from http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1099963963776147
Web Bug from http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=groups/S=:HM/A=2343726/rand=983999596


Yahoo! Groups Links

Reply via email to