开发者

How to force mstest result to overide the results file when running the test from command-line

I want to r开发者_如何学运维un the mstest via command line when i'm using /resultsfile:"file_name.trx" on the second time it will not run because the file is already exist.

How can i use the same file-name and simply override the existent trx file.


The approach I've used is to add logic into my build script to delete the file before the test is run.

<Delete Files="file_name.trx" Condition="Exists('file_name.trx')"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜