Guest User

Untitled

a guest
Oct 16th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. Hi,
  3. Below is the report generated.Here the main Namespace is SampleApplication.Now when i generate the coverage report i do not want coverage report to show coverage for SampleApplication.Logic.Calculate .
  4. I Use the command filters as below
  5.  
  6. lib\OpenCover\OpenCover.Console.exe -register:user -target:lib\NUnit\nunit-console.exe -targetargs:"/noshadow SampleApplication\bin\AnyCPU\SampleApplication.dll" -filter:"+[SampleApplication]* -[SampleApplication]*.Logic" -output:out\opencover.xml
  7.  
  8.  
  9. Summary
  10. Generated on: 12.07.2011-12.07.2011
  11. Parser: OpenCoverParser
  12. Assemblies: 1
  13. Files: 4
  14. Coverage: 69.2%
  15. Covered lines: 27
  16. Coverable lines: 39
  17. Total lines: 111
  18.  
  19. Assemblies
  20. SampleApplication.dll 69.2%
  21.  
  22. SampleApplication.Logic.Calculate 0%
  23.  
  24. SampleApplication.Program 0%
  25.  
  26. SampleApplication.Test1 87.5%
  27.  
  28. SampleApplicationTest.UnitTest1 100%
Add Comment
Please, Sign In to add comment