I want to run mstest through the command line when I use / resultsfile: "file_name.trx" the second time it wonβt run because the file already exists.
How can I use the same file name and just override the existing trx file.
The approach I used was to add logic to my build script to delete the file before running the test.
<Delete Files="file_name.trx" Condition="Exists('file_name.trx')"/>