因爲目前 DNX 缺少 XSLT 的轉換能力,所以只能使用變通方法。具體參考這個連接git
主要內容複製過來是:github
From @eriklarko on July 14, 2015 7:38app
As a workaround we downloaded the NUnitXml.xslt from https://github.com/xunit/xunit/blob/master/src/xunit.console/NUnitXml.xslt and used xsltproc to apply the >tranformation as a build step.ui
Example:orm
$ dnx . xunit.runner.dnx -xml xunit-test-results.xml
$ xsltproc NUnitXml.xslt xunit-test-results.xml > nunit-test-results.xmlxml