Collecting Code Coverage when Running Web and Load Tests

This blog post will show you how you can collect code coverage data when running web and load tests: https://blogs.msdn.com/slumley/pages/collecting-code-coverage-data-when-running-web-load-tests.aspx