ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Vermeerbergen" <>
Subject RE: junit ant task doesn't produce output
Date Tue, 13 Mar 2001 08:34:31 GMT
Try to add a formatter line:

      <formatter type="plain"/>
      <test name="Test1" />

-----Original Message-----
From:	"Fred Loney" <>
Sent:	Sunday, March 11, 2001 8:36 AM
To:	"" <>, ""
Subject:	junit ant task doesn't produce output

 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