AwesomeAssertions.Analyzers
9.0.8
Prefix Reserved
dotnet add package AwesomeAssertions.Analyzers --version 9.0.8
NuGet\Install-Package AwesomeAssertions.Analyzers -Version 9.0.8
<PackageReference Include="AwesomeAssertions.Analyzers" Version="9.0.8"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="AwesomeAssertions.Analyzers" Version="9.0.8" />Directory.Packages.props
<PackageReference Include="AwesomeAssertions.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>Project file
paket add AwesomeAssertions.Analyzers --version 9.0.8
#r "nuget: AwesomeAssertions.Analyzers, 9.0.8"
#:package AwesomeAssertions.Analyzers@9.0.8
#addin nuget:?package=AwesomeAssertions.Analyzers&version=9.0.8Install as a Cake Addin
#tool nuget:?package=AwesomeAssertions.Analyzers&version=9.0.8Install as a Cake Tool
Extension methods to fluently assert the outcome of .NET tests
CI Coverage Status 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
A collection of Analyzers based on the best practices tips.
Analysis and Code Fix in Action
Install
using the latest stable version:
dotnet add package AwesomeAssertions.Analyzers
Docs
- AwesomeAssertions Analyzer Docs
- MsTest Analyzer Docs
- NUnit4 Analyzer Docs
- NUnit3 Analyzer Docs
- Xunit Analyzer Docs
Configuration
© Thanks to https://github.com/meziantou/Meziantou.FluentAssertionsAnalyzers
You can exclude assertion methods using the .editorconfig file:
[*.cs]
ffa_excluded_methods=M:NUnit.Framework.Assert.Fail|M:NUnit.Framework.Assert.Fail(System.String)
Getting Started
Build
dotnet build
Tests
dotnet test --configuration Release --filter 'TestCategory=Completed'
Benchmarks
https://AwesomeAssertions.github.io/AwesomeAssertions.analyzers/dev/bench/
Example Usages
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on AwesomeAssertions.Analyzers:
| Package | Downloads |
|---|---|
|
Reo.Core.Testing
Package Description |
|
|
Reo.Core.IntegrationTesting
Package Description |
|
|
Reo.Core.CodeGeneratorTesting
Package Description |
|
|
Reo.Core.Testing.Common
Package Description |
GitHub repositories (9)
Showing the top 9 popular GitHub repositories that depend on AwesomeAssertions.Analyzers:
| Repository | Stars |
|---|---|
|
recyclarr/recyclarr
Automatically sync TRaSH Guides to your Sonarr and Radarr instances
|
|
|
Azure/azure-functions-host
The host/runtime that powers Azure Functions
|
|
|
MarimerLLC/csla
A home for your business logic in any .NET application.
|
|
|
Buildalyzer/Buildalyzer
A utility to perform design-time builds of .NET projects without having to think too hard about it.
|
|
|
vknet/vk
Vkontakte API for .NET
|
|
|
microsoft/component-detection
Scans your project to determine what components you use
|
|
|
Azure/azure-functions-dotnet-worker
Azure Functions out-of-process .NET language worker
|
|
|
nullpainter/sanchez
False-colour geostationary satellite image compositor
|
|
|
adrianiftode/FluentAssertions.Web
FluentAssertions for HTTP APIs
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.8 | 830,569 | 10/13/2025 |
| 9.0.7 | 2,331 | 10/11/2025 |
| 9.0.6 | 79,896 | 9/29/2025 |
| 9.0.5 | 21,316 | 9/24/2025 |
| 9.0.4 | 30,440 | 9/18/2025 |
| 9.0.3 | 131,417 | 8/6/2025 |
| 9.0.2 | 3,213 | 8/5/2025 |
| 9.0.1 | 4,729 | 8/2/2025 |
| 9.0.0 | 106,233 | 5/26/2025 |
| 8.0.0 | 60,519 | 5/8/2025 |
| 7.0.0 | 5,524 | 5/4/2025 |
| 0.34.2 | 91,366 | 2/24/2025 |
| 0.34.1 | 56,629 | 1/23/2025 |