dotnet-trx
0.4.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-trx --version 0.4.3
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.4.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-trx&version=0.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-trx --version 0.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pretty-print test results in TRX format.
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
continue-on-error: true
if: always()
run:
dotnet tool update -g dotnet-trx
trx --output
And view results in an automatic pull request comment like:
NOTE: this behavior is triggered by the presence of the
GITHUB_REF_NAME
andCI
environment variables.
USAGE:
trx [OPTIONS]
OPTIONS:
DEFAULT
-h, --help Prints help information
-v, --version Prints version information
-p, --path Optional base directory for *.trx files
discovery. Defaults to current directory
-o, --output Include test output
-r, --recursive True Recursively search for *.trx files
--skipped True Include skipped tests
--no-exit-code Do not return a -1 exit code on test
failures
--gh-comment True Report as GitHub PR comment
--gh-summary True Report as GitHub step summary
Install:
dotnet tool install -g dotnet-trx
Update:
dotnet tool update -g dotnet-trx
Sponsors
Product | Versions 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.