• In Solution Explorer, under Solution Items, double-click the test settings file, Local.testsettings.

      The Test Settings dialog box is displayed.

visual studio 2010单元测试--代码覆盖率配置(code coverage)

  • Select <Local machine only> as the role to use to collect code coverage data.

visual studio 2010单元测试--代码覆盖率配置(code coverage)

  • To modify the default code coverage settings in the, select the check box for Code Coverage and then click Configure located immediately above the list of

      diagnostic data adapters. The Code Coverage Detail dialog box to configure code coverage collection is displayed.

visual studio 2010单元测试--代码覆盖率配置(code coverage)

  • Enable Deployment and add some files that needed.

visual studio 2010单元测试--代码覆盖率配置(code coverage)

相关文章:

  • 2021-11-16
  • 2022-12-23
  • 2021-05-17
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2021-08-31
  • 2021-12-21
  • 2021-09-03
  • 2021-06-15
  • 2022-01-25
  • 2022-12-23
  • 2021-07-19
相关资源
相似解决方案