You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can collect coverage information from 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