OpenCover No results, this could be for a number of reasons. The most common reasons What is the solution for missing PDBs error.

1,899 views
Skip to first unread message

manjus...@gmail.com

unread,
Jan 4, 2018, 8:19:23 AM1/4/18
to NUnit-Discuss
 1 tests processed...
  2 tests processed...
  3 tests processed...
  TestResultsReport Reportunit Called 
CoverageOC:
  CoverageOC called C:\Program Files (x86)\Jenkins\workspace\MVCTesting\UnitTestResults  
  ..\MVCApp\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:Path64 -enableperformancecounters -searchdirs:"..\MVCApp\packages\NUnit.ConsoleRunner.3.7.0\tools" -targetdir:"..\MVCApp\packages\NUnit.ConsoleRunner.3.7.0\tools" -target:"..\MVCApp\packages\NUnit.ConsoleRunner.3.7.0\tools\nunit3-console.exe" -targetargs:"..\MVCAppTests\obj\Debug\MVCAppTests.dll /version /shadowcopy /trace=Debug /config=Debug /result=..\UnitTestResults\TestResult.xml"    -filter:"+[*.*]*" -output:"..\CoverageResults\coverage-results.xml"
  Executing: C:\Program Files (x86)\Jenkins\workspace\MVCTesting\MVCApp\packages\NUnit.ConsoleRunner.3.7.0\tools\nunit3-console.exe
  NUnit Console Runner 3.7.0 
  Copyright (c) 2017 Charlie Poole, Rob Prouse
  
  Committing...
  No results, this could be for a number of reasons. The most common reasons are:
      1) missing PDBs for the assemblies that match the filter please review the
      output file and refer to the Usage guide (Usage.rtf) about filters.
      2) the profiler may not be registered correctly, please refer to the Usage
      guide and the -register switch.
  CoverageOC Completed 
CodeCoverageReport:
  CodeCoverageReport called CodeCoverageReportFolder: ..\CoverageReport CoverageHistoryDirectory: ..\CoverageHistory SourceDirectories :
Loading report 'C:\Program Files (x86)\Jenkins\workspace\MVCTesting\CoverageResults\coverage-results.xml'
 Preprocessing report
 Initiating parser for OpenCover
Reading historic reports
Initializing report builders for report types: html
Analyzing 0 classes
 Creating summary
Creating history report
Report generation took 12.4 seconds
  Coverage report has been generated:  

Rob Prouse

unread,
Jan 4, 2018, 12:33:35 PM1/4/18
to NUnit-Discuss
- What .NET Framework are you targeting? 4.x or .NET Core?
- Are you using the new CSPROJ format? You may need to add <DebugType>Full</DebugType> to your project file. See https://github.com/nunit/nunit/blob/master/src/NUnitFramework/tests/nunit.framework.tests.csproj

Rob

--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nunit-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to nunit-...@googlegroups.com.
Visit this group at https://groups.google.com/group/nunit-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages