0
我想讓SpecUnit在使用Nant的持續集成版本中運行。目前這些文件位於正確的位置,但沒有從SpecUnit.Report.exe生成輸出。下面是從惡性生成腳本相關任務:如何讓SpecUnit在TeamCity CI版本中運行
<echo message="**** Starting SpecUnit report generation ****" />
<copy file="${specunit.exe}" tofile="${output.dir}SpecUnit.Report.exe" />
<exec program="${output.dir}SpecUnit.Report.exe" failonerror="false">
<arg value="${acceptance.tests.assembly}" />
</exec>
請注意:
${specunit.exe}
是其中「SpecUnit.Report.exe」所在的完整路徑。${output.dir}
是當前構建代理的teamcity輸出目錄。${acceptance.tests.assembly}
是 「AcceptanceTests.dll」
任何人都嘗試過這個?
記得你可以使用該報告在總結建設作爲另一個選項卡 – 2008-10-10 08:44:11