Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to output the nunit test results to trx file in visualstudio 2012
Posted

1 solution

There is solution available in StackOverflow[^].

From Visual Studio command prompt run following
vstest.console.exe /logger:trx .\TestProject\bin\debug\YourUnitTestAssembly.dll


Find detailed solution with explaination here
Visual Studio 2012 Unit Test Report[^]

Hope, it helps :)
 
Share this answer
 
Comments
Member 11749138 26-Jun-15 1:47am    
Thanks for the answer.But this is creating a default file name for trx .Is there any way to have customized name for trx
Alex Sanséau 27-Oct-17 5:03am    
The question is about NUnit, how can this (vstest.console.exe) be the correct answer?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900