2017-06-01 46 views
1

我已經執行使用該命令我測試:DOTNET測試併發布測試TFS 2015年

DOTNET測試-l TRX

但是,當我看到我的測試結果不會在出現建立總結:No test results

一些提示顯示,使其可見?在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 
+1

你有一個「公佈測試結果」的任務在構建定義中配置? –

+0

Martin,我補充說,實際上它適用於trx文件。添加它作爲答案,我將它作爲回答;) – Fabito

回答

1

要使可作爲VSTS/TFS測試結果產生trx文件,使用「發佈測試結果」任務:

enter image description here