Meziantou.FluentAssertionsAnalyzers 1.0.21

Prefix Reserved
dotnet add package Meziantou.FluentAssertionsAnalyzers --version 1.0.21
                    
NuGet\Install-Package Meziantou.FluentAssertionsAnalyzers -Version 1.0.21
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.FluentAssertionsAnalyzers" Version="1.0.21">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.FluentAssertionsAnalyzers" Version="1.0.21" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.FluentAssertionsAnalyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.FluentAssertionsAnalyzers --version 1.0.21
                    
#r "nuget: Meziantou.FluentAssertionsAnalyzers, 1.0.21"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.FluentAssertionsAnalyzers@1.0.21
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.FluentAssertionsAnalyzers&version=1.0.21
                    
Install as a Cake Addin
#tool nuget:?package=Meziantou.FluentAssertionsAnalyzers&version=1.0.21
                    
Install as a Cake Tool

NuGet build GitHub license

Meziantou.FluentAssertionsAnalyzers

Meziantou.FluentAssertionsAnalyzers is a Roslyn analyzer to help migrate from Xunit or NUnit assertions to Fluent Assertions.

Installation

Install the NuGet package: Meziantou.FluentAssertionsAnalyzers

Configuration

You can exclude assertion methods using the .editorconfig file:

[*.cs]
mfa_excluded_methods=M:NUnit.Framework.Assert.Fail;M:NUnit.Framework.Assert.Fail(System.String)
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Meziantou.FluentAssertionsAnalyzers:

Package Downloads
Reo.Core.Testing

Package Description

Reo.Core.IntegrationTesting

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Meziantou.FluentAssertionsAnalyzers:

Repository Stars
vknet/vk
Vkontakte API for .NET
Version Downloads Last Updated
1.0.21 608,569 1/23/2024
1.0.20 5,121 1/17/2024
1.0.19 17,692 12/30/2023
1.0.18 5,554 12/20/2023
1.0.17 189 12/20/2023
1.0.16 5,506 12/8/2023
1.0.15 3,629 12/8/2023
1.0.14 3,557 12/5/2023
1.0.13 198 12/5/2023
1.0.12 178 12/5/2023
1.0.11 161 12/5/2023
1.0.10 108,656 9/21/2022
1.0.9 457 9/21/2022
1.0.8 56,901 6/7/2022
1.0.7 630 6/7/2022
1.0.6 468 6/7/2022
1.0.5 453 6/7/2022
1.0.4 581 5/25/2022
1.0.3 621 5/24/2022