Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Can we export xunit test result in json format

$
0
0

I am working on a Asp.Net5 (MVC6) web application and using xunit to right unit test cases. I can also export the result of all test cases in XML format from command prompt.

Added the below line under command section of "project.json" file and it works well.

"test": "xunit.runner.dnx -xml testresults.xml"

Is there a way to export the results in JSON format? Please share if someone has idea about this.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>