Reputation: 1337
I want to run 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.
Upvotes: 4
Views: 2207
Reputation: 18303
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')"/>
Upvotes: 4