JtestR

JUnit-ANT integration does not report correct number of tests run

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: trunk
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Mac, Java6
  • Number of attachments :
    0

Description

I am using newest version 0.4 of JtestR from trunk with ANT 1.7, Junit 4+ and org.jtestr.ant.JtestRSuite in the ANT Junit task.

In JtestR.config I have setup rspec to run one test and the resulting XML output for junit contains one testcase as expected but
this information in the XML is wrong:
<system-out><![CDATA[Total: 0 tests, 0 failures, 0 errors, 0 pending]]></system-out>

Accordingly, the JUnit gets confused and will not report the correct number of tests run. I have not checked if failures will be reported correctly but I suspect that there may be a problem there to.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: