...Coverlet also integrates with the build system to run code coverage after tests. Enabling code coverage is as simple as setting the CollectCoverage property to true. The coverlet tool is invoked by specifying the path to the assembly that contains the unit tests. You also need to specify the test runner and the arguments to pass to the test runner using the --target and --targetargs options respectively.
A code coverage console app for wrapping MsTest executed tests for Visual Studio for Testers. The app extracts coverage data from a binary (*.coverage) file, generated by MsTest into an XML file which can be used in your build process.