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')"/>
精彩评论