【发布时间】:2017-11-02 19:39:18
【问题描述】:
我已经使用以下命令执行了测试:
dotnet 测试 -l trx
一些提示显示使其可见?在 TFS2015 中,我不能使用当前的构建步骤来运行测试,因为它们不适用于 dotnet 核心应用程序
这是我的日志中的测试输出:
2017-06-01T14:56:08.3158317Z Microsoft (R) Test Execution Command Line Tool Version 15.0.0.0
2017-06-01T14:56:08.3158317Z Copyright (c) Microsoft Corporation. All rights reserved.
2017-06-01T14:56:08.4228414Z Starting test execution, please wait...
2017-06-01T14:56:11.4560909Z Results File: D:\APPS\NVSDeploymentAgent\_work\12\s\tests\Tests\TestResults\2017-06-01_16_56_11.trx
【问题讨论】:
-
您是否在构建定义中配置了“发布测试结果”任务?
-
Martin,我添加了它,实际上它适用于 trx 文件。将其添加为答案,我将其作为答案;)
标签: testing build msbuild tfs-2015