Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 2020.1

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:

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

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