1

I am generating an NUnit test report XML from solution. I am using Specflow to generate an HTML file, however the report is missing code coverage summary.

Please help me to add code coverage summary in report.

I am using this batch file:

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
ClickRick
  • 1,553
  • 2
  • 17
  • 37
LovingMVC
  • 305
  • 3
  • 5
  • 15
  • What command are you using? – AlSki Feb 28 '14 at 07:27
  • This is batch file which I am using to generate. @echo off 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.Tests.csproj /out:C:\TF_Test\Infrastructure_Tests\Report1.xml – LovingMVC Feb 28 '14 at 08:19
  • Does the answer at http://stackoverflow.com/a/10636560/3419534 help at all? – ClickRick May 15 '14 at 17:44
  • @ClickRick that question doesn't seem to be related to including code coverage in the XML results. – BrainSlugs83 Sep 12 '16 at 22:19

0 Answers0