0

My company is developing database software. Most of that is made of C++ and some part is C#. The part of C# is a library module. There is a executable file. aaa.exe and windowClient.dll used by aaa.exe. I want to check the coverage for this windowClient.dll. Are there any way to do this?

  • You can find lots of options here: http://stackoverflow.com/questions/276829/code-coverage-for-c-net – Olaf Jan 03 '12 at 08:44

2 Answers2

0

When using a coverage tool you can always select the assembly to test for coverage and the executable that should be started.

E.g., OpenCover https://github.com/sawilde/opencover/wiki/Usage

opencover -target:aaa.exe -filter:+windowClient.dll
Emond
  • 50,210
  • 11
  • 84
  • 115
0

There are several tools available for this some open source and some commercial

Open Source

OpenCover - branch and sequence coverage (32/64) Silverlight support - all .NET Languages

PartCover - sequence coverage only - all .NET languages

Commercial

Semantic Designs - C# and C++ coverage and many others

NCover - branch and sequence coverage - I assume all .NET languages only ever used for C# though.

As Olaf has commented there are a lot of options

Community
  • 1
  • 1
Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56