Skip to content
Novus Examples
trx

What is a .trx file?

application/xml

TRX is the XML test-result format produced by the Visual Studio test platform and `dotnet test`. A TestRun element carries run metadata, a Times element with creation, queuing, start, and finish timestamps, a TestDefinitions section describing each test method, and UnitTestResult entries recording outcome, duration, output, and any error message and stack trace. A ResultSummary element aggregates the counts.

How to use a .trx file

Use an example .trx file to test .NET CI reporters and TRX-to-JUnit converters, checking that outcomes map correctly, that the summary counts agree with the individual results, and that error output and stack traces are preserved.

Convert a .trx file to another format

← All file formats