Custom XSLT for TRX Test Results

Originally posted on: http://geekswithblogs.net/gavin/archive/2009/08/25/134311.aspx

VS 2008 requires you have VS 2008 Test Edition to see the results of a Generic Test, this wasn’t sufficient with out current project as a lot of developers don’t use test edition.  I put together this custom xslt transform to convert the .trx test result file to an html report anyone can view, complete with collapsable sections…

Here is a link to the latest version of the XSLT:

http://yourcomputer.com/TRX2HTML.xslt

Here is the TrxConverter.cs file I use to Generate the html.

http://yourcomputer.com/TrxConverter.txt

Rename it to .cs