From: Curt S. <cj...@cy...> - 2006-03-19 09:26:23
|
Sort of a dumb question, perhaps, but I just can't seem to figure this out. I'm using Ant 1.6 and JUnit 4.0. How do I get Ant to print the results of a test run to stdout, rather than put the results in a file? My build.xml includes: <target name="unit-test" depends="compile"> <junit haltonfailure="yes" printsummary="true" showoutput="true"> <formatter type="brief" usefile="false"/> <test name="ListTest"/> <test name="UnitTest"/> </junit> </target> But I get no output. If I change usefile to "true", I do get output to files, but that's rather a pain when doing TDD. cjs -- Curt Sampson <cj...@cy...> +81 90 7737 2974 The power of accurate observation is commonly called cynicism by those who have not got it. --George Bernard Shaw |