How do I format Visual Studio Test results file (.trx) into a more readable format?

前端 未结 5 1929
孤城傲影
孤城傲影 2020-12-15 07:28

Have just started using Visual Studio Professional\'s built-in unit testing features, which as I understand, uses MS Test to run the tests.

The .trx file that the te

5条回答
  •  余生分开走
    2020-12-15 08:12

    Since this file is XML you could and should use xsl to transform it to another format. The IAmUnkown - blog has an entry about decoding/transforming the trx file into html.

    You can also use .NetSpecExporter from Bekk to create nice reports. Their product also uses XSL, so you could probably steal it from the downloaded file and apply it with whatever xsl-application you want.

提交回复
热议问题