Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Saving/Exporting Unit Test Results in VS 2012

How can I export unit tests results in VS 2012? I know there's never been a direct way to do it (even though there should be), but at least in 2012 I was able to save the results from the test result window, and use trx2html to convert them into something readable. In 2012, I don't see any way to do this from the test explorer. Unit tests results are part of our project documentation, so my ability to do this is important.

Any tips would be helpful, thanks!

like image 490
jeff.eynon Avatar asked Jan 25 '13 19:01

jeff.eynon


1 Answers

There is currently no way to export your results out from the IDE while using the new execution engine in VS2012. However you can achieve this via the commandline vstest.console.exe using the /logger:trx option.

like image 180
allen Avatar answered Oct 18 '22 03:10

allen