TFS 2015 RC Build vNext - 挂起代码覆盖率

时间:2015-06-24 18:10:20

标签: msbuild code-coverage mstest tfs2015

我在服务器上安装了TFS 2015 RC和VS 2015 RC(企业版)。我用一个msTest设置了一个简单的测试项目。设置构建应用程序的构建然后在下一步中运行UnitTests。我还将构建设置为Release和MsBuild x64。

如果我检查"代码覆盖率已启用"在测试步骤中的复选框,构建在运行测试后挂起。下面是跟踪,在一次测试成功后没有更多的日志记录,我去了_diag目录,并在日志中显示相同的内容。我无法弄清楚如何让它更加冗长。我希望从vtest.ps1 powershell脚本中看到更多的日志记录。

    ******************************************************************************
Starting task: VSTest
******************************************************************************
Executing the powershell script: C:\TFS_Data\Build\tasks\VSTest\1.0.8\VSTest.ps1
Microsoft (R) Test Execution Command Line Tool Version 14.0.22823.1
Copyright (c) Microsoft Corporation.  All rights reserved.
Starting test execution, please wait...
Passed   HelloMs

1 个答案:

答案 0 :(得分:0)

我发现了正在发生的事情,当你运行xUnit测试时,vNext显然无法覆盖。它适用于Ms测试框架。