Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export and import Test Results in Visual Studio 2012

In Visual Studio 2010, I could able to export/import "test run result"

How can i do it in Visual Studio 2012?

like image 857
user1037792 Avatar asked Dec 31 '12 13:12

user1037792


1 Answers

You cannot export test results using VS2012 today. The available alternatives are a) copy-paste the content of the test explorer into notepad b) run your tests via vstest.console.exe on the commandline using the /logger:trx flag to generate a .trx file.

Once you have a .trx file it continues to be a valid file in VS and you will see your results in the Test Results window.

like image 194
allen Avatar answered Oct 13 '22 03:10

allen