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" />
<PackageReference Include="AwesomeAssertions.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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.8
#tool nuget:?package=AwesomeAssertions.Analyzers&version=9.0.8
Extension methods to fluently assert the outcome of .NET tests
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 (3)
Showing the top 3 NuGet packages that depend on AwesomeAssertions.Analyzers:
| Package | Downloads |
|---|---|
|
Reo.Core.Testing
Package Description |
|
|
Reo.Core.IntegrationTesting
Package Description |
|
|
Reo.Core.CodeGeneratorTesting
Package Description |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on AwesomeAssertions.Analyzers:
| Repository | Stars |
|---|---|
|
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.
|
|
|
nullpainter/sanchez
False-colour geostationary satellite image compositor
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.8 | 484,093 | 10/13/2025 |
| 9.0.7 | 2,259 | 10/11/2025 |
| 9.0.6 | 60,448 | 9/29/2025 |
| 9.0.5 | 17,384 | 9/24/2025 |
| 9.0.4 | 25,487 | 9/18/2025 |
| 9.0.3 | 113,515 | 8/6/2025 |
| 9.0.2 | 2,697 | 8/5/2025 |
| 9.0.1 | 4,581 | 8/2/2025 |
| 9.0.0 | 98,620 | 5/26/2025 |
| 8.0.0 | 51,333 | 5/8/2025 |
| 7.0.0 | 5,445 | 5/4/2025 |
| 0.34.2 | 85,455 | 2/24/2025 |
| 0.34.1 | 51,916 | 1/23/2025 |