meziantou / Meziantou.FluentAssertionsAnalyzers

Geek Repo:Geek Repo

Github PK Tool:Github PK 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)

About

License:MIT License


Languages

Language:C# 100.0%