Page tree

Skip to end of metadata
Go to start of metadata

You can collect coverage information from .NET managed code during execution of NUnit tests by running the built-in Run VSTest Tests with Coverage test configuration. For example:

dottestcli.exe -solution "C:\Devel\FooSolution\FooSolution.sln" -config "builtin://Run VSTest Tests with Coverage" -report "C:\Report

See Unit Testing for information about setting up and executing unit tests.

  • No labels