FluentAssertions.Analyzers 0.33.0

dotnet add package FluentAssertions.Analyzers --version 0.33.0                
NuGet\Install-Package FluentAssertions.Analyzers -Version 0.33.0                
此命令旨在在Visual Studio的包管理器控制台中使用,因为它使用NuGet模块的版本Install-Package.
<PackageReference Include="FluentAssertions.Analyzers" Version="0.33.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
对于支持PackageReference的项目,将此XML节点复制到项目文件中,以引用包。
paket add FluentAssertions.Analyzers --version 0.33.0                
#r "nuget: FluentAssertions.Analyzers, 0.33.0"                
#r指令可以在F#交互式和_polyglot Notebooks中使用。将此复制到交互式工具或脚本的源代码中,以引用包。
// Install FluentAssertions.Analyzers as a Cake Addin
#addin nuget:?package=FluentAssertions.Analyzers&version=0.33.0

// Install FluentAssertions.Analyzers as a Cake Tool
#tool nuget:?package=FluentAssertions.Analyzers&version=0.33.0                

<a href="https://www.fluentassertions.com"><img src="assets/images/fluent_assertions_analyzers_large_horizontal.svg" style="width:400px"/></a>

用于流畅断言.NET测试结果的扩展方法

CI alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image GitHub Repo stars GitHub contributors GitHub last commit GitHub commit activity open issues

基于最佳实践提示的Analysis工具集。

Alt

分析代码并在实际应用中修复

Demo

安装

最新稳定版

dotnet add package FluentAssertions.Analyzers

文档

配置

©感謝https://github.com/meziantou/Meziantou.FluentAssertionsAnalyzers

您可以使用.editorconfig文件来排除断言方法

[*.cs]
ffa_excluded_methods=M:NUnit.Framework.Assert.Fail;M:NUnit.Framework.Assert.Fail(System.String)

入门

构建

dotnet build

测试

dotnet test --configuration Release  --filter 'TestCategory=Completed'

基准测试

https://fluentassertions.github.io/fluentassertions.analyzers/dev/bench/

示例用法

此包没有支持的框架资产。

更多关于目标框架.NET Standard的信息。

此包没有依赖项。

NuGet包 (5)

显示依赖于FluentAssertions.Analyzers的顶级5个NuGet包

下载
EvaluateExpression.Asserts

包描述

GoSolve.Tools.Common

包含goSolve后端服务工具的软件包。

BradleyGunnCore.Testing.Core

项目通用测试工具

PixelatedLabs.Standard

适用于.NET项目的常见静态分析配置。

Reo.Core.Testing.31

包描述

GitHub仓库 (29)

显示依赖FluentAssertions.Analyzers的GitHub最受欢迎的前5个仓库。

仓库 星标
chocolatey/choco
Chocolatey - Windows的包管理器
Richasy/Bili.Uwp
适用于新系统UI的哔哩
microsoft/onefuzz
自助Fuzzing-As-A-Service平台
Cysharp/R3
dotnet/reactive和UniRx的新未来。
recyclarr/recyclarr
自动将TRaSH指南同步到您的Sonarr和Radarr实例。
版本 下载 最后更新
0.33.0 80,675 7/12/2024
0.32.0 202,977 5/23/2024
0.31.0 473,137 2/29/2024
0.30.0 210,063 1/24/2024
0.29.1 39,302 1/17/2024
0.29.0 102,770 1/4/2024
0.28.0 25,999 12/27/2023
0.27.0 65,660 12/8/2023
0.26.0 236,673 10/28/2023
0.25.0 102,646 10/3/2023
0.24.0 134,610 9/1/2023
0.23.1 44,433 8/25/2023
0.23.0 11,636 8/22/2023
0.22.1 570 8/25/2023
0.22.0 212,141 8/15/2023
0.21.0 260,187 6/28/2023
0.20.0 34,551 6/15/2023
0.19.1 128,617 5/30/2023
0.19.0 404 5/30/2023 0.19.0版本已被弃用,因为它存在关键错误。
0.18.0 20,883 5/27/2023
0.17.5 1,368 5/27/2023
0.17.4 233 5/27/2023
0.17.4-alpha1 227 5/27/2023
0.17.2 1,595,569 4/1/2022
0.17.1 528 4/1/2022
0.17.0 2,053 3/31/2022
0.16.0 279,608 2/14/2022
0.15.0 212,176 1/10/2022
0.14.0 3,791 1/10/2022
0.13.0 182,046 11/16/2021
0.12.1 100,801 10/21/2021
0.12.0 46,531 10/11/2021
0.11.4 2,221,869 8/17/2018
0.11.3 11,962 7/5/2018
0.11.2 2,527 6/25/2018
0.11.1 1,123 6/23/2018
0.11.0 1,029 6/21/2018
0.10.3 1,059 6/20/2018
0.10.2 1,062 6/19/2018
0.10.1 1,302 6/9/2018
0.10.0 2,434 4/17/2018
0.9.0 7,291 2/11/2018
0.8.0 3,097 1/11/2018
0.7.0 7,026 10/25/2017
0.6.0 935 10/24/2017
0.5.1 926 10/23/2017
0.5.0 3,434 10/22/2017