ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Loney <>
Subject junit ant task doesn't produce output
Date Sun, 11 Mar 2001 07:36:42 GMT
 I have not been able to get the ant junit task to produce an output file. I have a trivial
junit test:

public class Test1 extends TestCase {
 public Test1(String name) {

 public void testEmpty() {

called by the trivial ant task:

      <test name="Test1" />

with result:

  [junit] TEST Test1 FAILED

but no output file results.  I have tried many variations with path, dir and file params,
without success. The junit test runner reports the "failed" message, but ant does not capture
it in a file as expected.

I'm using ant 1.3beta3 with junit 3.5. This is supposed to work according to jakarta Bug Report
680 (

Is this an ant/junit problem or a personal problem?

View raw message