Skip to main content

Analyzers to help writing AwesomeAssertions the right way.

Total Downloads
2.8M
2,770,573
Published
Oct 13, 2025
1y ago

Get Started

dotnet add package AwesomeAssertions.Analyzers --version 9.0.8

No framework information available.

README

Extension methods to fluently assert the outcome of .NET tests

CI Coverage Status 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

Demo

Install

using the latest stable version:

dotnet add package AwesomeAssertions.Analyzers

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

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.