1

我正在从解决方案生成 NUnit 测试报告 XML。我正在使用 Specflow 生成 HTML 文件,但是报告缺少代码覆盖率摘要。

请帮我在报告中添加代码覆盖率摘要。

我正在使用这个批处理文件:

cd C:\TF_Test\Infrastructure_Tests\NUnit-2.6.3\NUnit-2.6.3\bin 
nunit-console.exe /labels /out=TestResult.txt /xml=TestResult.xml C:\TF_Test\Infrastructure_Tests\Infrstructure.1100_Tests\bin\Release\ThinkIQ.Platform.Infrastructure._1100.Tests.dll 
C:\TF_Test\Infrastructure_Tests\SpecFlow.1.9.0\tools\specflow.exe nunitexecutionreport C:\TF_Test\Infrastructure_Tests\Infrstructure.1100_Tests\Infrastructure._1100.Te‌​sts.csproj /out:C:\TF_Test\Infrastructure_Tests\Report1.xml
4

0 回答 0