我有一个TFS 2015服务器需要执行我的C#代码的代码覆盖。让Team Foundation Server 2015做代码覆盖的选项
我尝试了一些东西,延长其工作是一定的,但不是在所有优化: *我安装NUnit.WithFramework
,与OpenCover
和ReportGenerator
一起,把它发布在.htm文件的神器 - 这给我看了报道,但需要大量的点击才能看到它。而且这还不是在专用字段中显示的代码覆盖率:
什么是需要它来显示我的代码覆盖率?我的服务器上是否需要Visual Studio Enterprise 2015?
其他任何方法都无法构建并显示我的代码覆盖率?
更新:
当运行的版本,下面的警告抛出:
2016-07-06T08:30:31.0461215Z Warning: Using Isolation mode to run the tests as diagnostic data adapters were enabled in the runsettings. Use the /inIsolation parameter to suppress this warning.
2016-07-06T08:30:34.3147483Z Warning: Diagnostic data adapter message: Could not find diagnostic data adapter 'Code Coverage'. Make sure diagnostic data adapter is installed and try again.
看来我需要一个诊断数据适配器,这是described here - 我会尝试申请这样看看会发生什么。
只要你有MSDN没有额外的许可证构建代理上需要Visual Studio。 –