dotnet-test-rerun 1.0.13

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-test-rerun --version 1.0.13
                    
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-test-rerun --version 1.0.13
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-test-rerun&version=1.0.13
                    
nuke :add-package dotnet-test-rerun --version 1.0.13
                    

dotnet-test-rerun

Status

1 3 5

Description

Unfortunately, the isn't a way with plain dotnet test to automatically rerun failed tests.

This tool is wrapper for the dotnet test that automatically reruns any tests with the outcome "Failed" until they pass or a maximum number of attempts has been reached. This is useful, for cases where tests may fail intermittently due to external factors such as network connectivity, database availability, or race conditions.

Installation

dotnet tool install --global dotnet-test-rerun

Usage

test-rerun [somepathtodll] [OPTIONS]

Arguments

argument description
path Path to a test project .dll file.

Options

option description
--filter Run tests that match the given expression.
--settings, -s The run settings file to use when running tests.
--logger, -l Specifies a logger for test results. (default: trx)
--resultsDirectory The directory where the test results are going to be placed. If the specified directory doesn't exist, it's created.
--rerunMaxAttempts Maximum # of attempts. (default: 3)

License

This tool is licensed under GNU General Public License v3.0. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
3.3.0-alpha.2 0 11/6/2025
3.3.0-alpha.1 32 11/5/2025
3.3.0-alpha.0 123 10/27/2025
3.2.0 10,273 10/27/2025
3.2.0-alpha.2 81 10/24/2025
3.2.0-alpha.1 85 10/24/2025
3.2.0-alpha.0 87 10/24/2025
3.1.1 70,892 8/11/2025
3.1.0 31,618 6/26/2025
3.1.0-alpha.0 5,929 3/12/2025
3.0.0 64,846 1/22/2025
2.1.0 283,275 10/1/2024
2.1.0-alpha.0 85 9/28/2024
2.0.3-alpha.0 82 9/26/2024
2.0.2 61,829 7/29/2024
2.0.1 2,606 7/20/2024
2.0.1-alpha.1 91 7/7/2024
2.0.0 49,246 2/15/2024
1.9.0 48,045 1/10/2024
1.9.0-alpha.1 131 12/19/2023
1.8.1 226 1/10/2024
1.8.0 24,582 11/24/2023
1.8.0-alpha.2 165 11/24/2023
1.8.0-alpha.1 142 11/17/2023
1.8.0-alpha.0 115 11/7/2023
1.7.1 202 11/24/2023
1.7.0 3,451 10/31/2023
1.7.0-alpha.0 149 10/25/2023
1.6.1 6,578 10/11/2023
1.6.0 669 10/6/2023
1.6.0-alpha.0 98 10/6/2023
1.5.1-alpha.0 108 10/5/2023
1.5.0 2,900 9/9/2023
1.5.0-alpha.0 215 8/24/2023
1.4.1 4,608 8/15/2023
1.4.0 939 8/1/2023
1.4.0-alpha.7 142 8/2/2023
1.4.0-alpha.6 138 8/2/2023
1.4.0-alpha.5 148 8/1/2023
1.4.0-alpha.4 160 8/1/2023
1.4.0-alpha.3 145 8/1/2023
1.4.0-alpha.2 136 8/1/2023
1.4.0-alpha.1 141 7/26/2023
1.4.0-alpha.0 144 7/17/2023
1.3.1 1,118 7/4/2023
1.3.1-alpha.0 725 7/3/2023
1.3.0 272 7/3/2023
1.3.0-alpha.2 157 7/2/2023
1.3.0-alpha.1 168 7/2/2023
1.3.0-alpha.0 151 7/2/2023
1.2.2-alpha.1 173 7/1/2023
1.2.2-alpha.0 179 6/27/2023
1.2.1 360 6/15/2023
1.2.0 349 6/9/2023
1.2.0-alpha.0 181 4/2/2023
1.1.0 543 3/21/2023
1.0.13 619 3/2/2023
1.0.12 383 2/23/2023
1.0.11 484 2/23/2023
1.0.10 410 2/15/2023
1.0.9 392 2/14/2023
1.0.8 405 2/14/2023
1.0.7 430 2/13/2023
1.0.6 433 2/13/2023
1.0.5 435 2/13/2023
1.0.4 380 2/13/2023
1.0.3 399 2/13/2023
1.0.2 401 2/13/2023
1.0.1 847 2/10/2023
1.0.0 445 2/10/2023