vstest.console.exe - Specify output file location via command line

2.3k Views Asked by At

I'm running test on vstest.console.exe. How to specify the location of results file?

vstest.console.exe [TestLocation] /Logger:trx /Platform:x64 /InIsolation /Tests:[Testname]

SOLUTION: Run tests from the folder, where I want my "TestResults" appear

1

There are 1 best solutions below

0
On BEST ANSWER

Unfortunately, the location of result file can not be changed in vstest.console.exe command line.

If you are using TFS, you could consider add tasks such as Copy Files in your build definition, to copy files to target folder.