dotnet-retest 0.6.1

dotnet tool install --global dotnet-retest --version 0.6.1                
该包包含一个 .NET 工具,您可以从Shell/命令行调用。
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-retest --version 0.6.1                
该包包含一个 .NET 工具,您可以从Shell/命令行调用。
#tool dotnet:?package=dotnet-retest&version=0.6.1                
nuke :add-package dotnet-retest --version 0.6.1                

自动重试失败的测试并按数字打印汇总测试结果,同时与 GitHub PR 评论集成,类似于 dotnet-trx

Demo

本地运行时,提供每个运行的实时进度

Demo

以及每个尝试的时间和结果

Demo

典型用法: dotnet retest [OPTIONS] [-- [dotnet test options]] (可选的 --attempts 默认为 5

    - name: 🧪 test
      run: |
        dotnet tool update -g dotnet-retest
        dotnet retest -- --no-build [other test options and args]

PR 评论集成

PR comment

注意:此行为由存在 GITHUB_REF_NAMECI 环境变量触发。

USAGE:
    dotnet retest [OPTIONS] [-- [dotnet test options]]

OPTIONS:
                        DEFAULT                                                
    -h, --help                     Prints help information                     
    -v, --version                  Prints version information                  
        --retries       3          Maximum retries when re-running failed 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               

安装

dotnet tool install -g dotnet-retest

更新

dotnet tool update -g dotnet-retest

赞助商

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

赞助此项目  

了解更多关于 GitHub Sponsors

产品 兼容的计算目标框架版本。
.NET net8.0 是兼容的。 net8.0-android 已计算。 net8.0-browser 已计算。 net8.0-ios 已计算。 net8.0-maccatalyst 已计算。 net8.0-macos 已计算。 net8.0-tvos 已计算。 net8.0-windows 已计算。
兼容目标框架
包含的目标框架(在包中)
了解有关 目标框架.NET 标准的 详细信息。

此包没有依赖项。

版本 下载 最后更新
0.6.1 259 8/8/2024
0.6.0 84 8/7/2024
0.5.0 57 8/7/2024
0.4.1 65 8/7/2024
0.4.0 57 8/7/2024
0.3.0 97 7/31/2024
0.2.3 66 7/29/2024
0.2.2 64 7/29/2024
0.2.1 58 7/29/2024
0.2.0 338 7/21/2024
0.1.0 86 7/21/2024