dotnet-trx 0.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-trx --version 0.3.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-trx --version 0.3.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-trx&version=0.3.1                
nuke :add-package dotnet-trx --version 0.3.1                

Pretty-print test results in TRX format.

Demo

Typical usage: dotnet test --logger trx; trx (optionally with --output).

It automatically integrates with GitHub Actions by appending a pull request comment with the results too. Set up workflow with:

    - name: 🧪 show
      if: always()
      run:  
        dotnet tool update -g dotnet-trx
        trx --output

And view results in an automatic pull request comment like:

PR comment

NOTE: this behavior is triggered by the presence of the GITHUB_REF_NAME and CI environment variables.

USAGE:
    trx [OPTIONS]

OPTIONS:
                       DEFAULT
    -h, --help                    Prints help information
    -p, --path                    Optional base directory for *.trx files discovery. Defaults to current directory
    -o, --output       False      Include test output
    -r, --recursive    True       Recursively search for *.trx files
        --version                 Show version information

Install:

dotnet tool install -g dotnet-trx

Update:

dotnet tool update -g dotnet-trx

Sponsors

Clarius Org Kirill Osenkov MFB Technologies, Inc. Stephen Shaw Torutek DRIVE.NET, Inc. Ashley Medway Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Giorgi Dalakishvili Uno Platform Dan Siegel Reuben Swartz Jacob Foshee alternate text is missing from this package README image Eric Johnson Ix Technologies B.V. David JENNI Jonathan Oleg Kyrylchuk Charley Wu Jakob Tikjøb Andersen Seann Alexander Tino Hager Mark Seemann Ken Bonny Simon Cropp agileworks-eu sorahex Zheyu Shen Vezel ChilliCream 4OTC

Sponsor this project  

Learn more about GitHub Sponsors

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.4.5 1,012 8/8/2024
0.4.4 81 7/31/2024
0.4.3 73 7/29/2024
0.4.2 66 7/29/2024
0.4.1 114 7/17/2024
0.4.0 109 7/15/2024
0.3.4 99 7/12/2024
0.3.3 244 7/7/2024
0.3.2 106 7/7/2024
0.3.1 99 7/7/2024
0.3.0 126 7/4/2024
0.2.0 107 7/3/2024
0.1.0 119 7/2/2024