Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate .trx file in vs2012?

I am using VS2012 Ultimate edition for my Coded UI project.

My project is not generating .trx file in the TestResults folder. Please suggest me steps to get .trx file using Visual Studio 2012.

like image 361
user2405454 Avatar asked Dec 21 '22 05:12

user2405454


1 Answers

VS 2012 does not generate .trx files and there is not a way to configure it to do so. However, if you use VSTest.Console.exe command line utility, then you can generate a .trx file by passing it /logger:trx command line parameter.

like image 164
Mehmet Aras Avatar answered Dec 28 '22 08:12

Mehmet Aras