main
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="project.test">
3 <property name="test.output" value="unit.dll" />
4 <property name="xunit.cons.exe" value="${thirdparty.dir}\mspec\mspec.exe" />
5
6 <target name="run.test" depends="app.compile">
7 <exec program="${xunit.cons.exe}" workingdir="${build.compile.dir}" commandline="${xunit.arguments}" />
8 </target>
9
10 <target name="test">
11 <property name="xunit.arguments" value="${build.compile.dir}/${test.output} --html ${build.compile.dir}" />
12 <call target="run.test" />
13 </target>
14
15</project>