0

MTM 2010 を使用して記録されたテスト結果のコピーをクライアントに提供しようとしています。結果を取得する場所を知っていますか?

ありがとう。

4

2 に答える 2

1

テスト実行を分析するには、以下の 2 つの方法のいずれかに従います。

  1. 「ファイル名を指定して実行」から次のコマンドを実行します: start mtm://[tfsserver:portnumber/tfs/collectionname]/p:[teamproject]/testing/testrun/open?id=

  2. 結果ファイル (.trx) をローカル システムにダウンロード: tcm run /export /id:id /resultsfile:[my_local_path] /collection:CollectionURL /teamproject:project [/login:username,[password]] [/attachment:attachmentname]

于 2013-03-14T11:14:22.723 に答える
1

テストの実行とその添付ファイルは TFS サーバーに保存され、TFS SDK を介して利用できます。ITestRun.Attachmentsにすべてのテスト実行に関連付けられた添付ファイルが含まれる TestManagementService APIを参照してください。

var testsvc = tfs.GetService<TestManagementService>()
IEnumerable<ITestRun> testRun = testsvc.GetTeamProject("myteamprojectname").TestRuns; // you can use the query/find 
于 2013-02-09T15:57:34.373 に答える