<%String stepName = new GenerationHelper().getPositionString(testStep);%> | |
<target name="<%=stepName%>" depends="init,install.buckminster"> | |
<echo message="Running Junit tests <%=testStep.isCodeCoverage()?"and Emma code coverage":""%>" /> | |
<buckminster command="<%=testStep.isCodeCoverage()?"emma":"junit"%>"> | |
<cmdargs> | |
<arg value="-l" /> | |
<arg value="<%=testStep.getLaunchConfigurationPath()%>" /> | |
<arg value="-o" /> | |
<arg value="${result}/testReport<%=stepName%>.xml" /> | |
<arg value="--terseXML" /> | |
<arg value="--flatXML"/> | |
<%if (testStep.isCodeCoverage()) {%> | |
<arg value="--xml" /> | |
<arg value="${result}/coverageReport<%=stepName%>.xml" /> | |
<%}%> | |
</cmdargs> | |
</buckminster> | |
</target> | |