GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HamedFathi/TrxFileParser: A Trx file parser.

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
TrxFileParser
TrxFileParser
 
 
TrxFileParserTests
TrxFileParserTests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TrxFileParser.sln
TrxFileParser.sln
 
 

Repository files navigation

search

A Trx file is nothing but a Visual Studio unit test result file extension. This file is in XML format. TrxFileParser helps you to parse it.

Create a Trx file

  • Command line
dotnet test -l:trx;LogFileName=C:\temp\TestOutput.xml
  • MSBuild
<PropertyGroup>
  <VSTestLogger>trx</VSTestLogger>
  <VSTestResultsDirectory>C:\temp</VSTestResultsDirectory>
</PropertyGroup>

Parsing a Trx file

TestRun testRun = TrxFileParser.TrxConvert.Deserialize(trxFilePath);

Convert test result to Markdown

string markdown = testRun.ToMarkdown();

Nuget

Open Source Love Nuget Nuget

Install-Package TrxFileParser

dotnet add package TrxFileParser

Icons made by Freepik from www.flaticon.com

About

A Trx file parser.

Topics

csharpdotnetnunittesttestingtrxtrx-parserxunit

Resources

Readme
MIT license
Activity

Stars

9 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.