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

前端 未结 5 1918
孤城傲影
孤城傲影 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 07:56

    If your are using VS2008 I also have an answer on IAmUnknown. Which updates the above answer which is based on VS 2005 trx format

    here is a style sheet that creates a readable HTM file

    
    
    
      
      
            
        
      
        

    Test Results

    Summary

    • Tests found:
    • Tests executed:
    • Tests passed:
    • Tests Failed:
    Test Outcome
    Message:

    Stack:

    Console:

提交回复
热议问题