dotnet-retest
0.1.0
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-retest --version 0.1.0
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-retest --version 0.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-retest&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-retest --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Runs dotnet test
with retries for failed tests automatically, and pretty-prints aggregated
test results, integrating also with GitHub PR comments just like dotnet-trx.
Typical usage: dotnet retest [OPTIONS] [-- [dotnet test options]]
(with optional --attempts
which defaults to 5
):
- name: 🧪 test
run: |
dotnet tool update -g dotnet-retest
dotnet retest -- --no-build [other test options and args]
PR comment integration:
NOTE: this behavior is triggered by the presence of the
GITHUB_REF_NAME
andCI
environment variables.
USAGE:
dotnet retest [OPTIONS] [-- [dotnet test options]]
OPTIONS:
DEFAULT
-h, --help Prints help information
-v, --version Prints version information
--attempts 5 Maximum attempts to run tests
--output Include test output in report
--skipped True Include skipped tests in report
--gh-comment True Report as GitHub PR comment
--gh-summary True Report as GitHub step summary
Install:
dotnet tool install -g dotnet-retest
Update:
dotnet tool update -g dotnet-retest
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.