Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Analyzers based on the FluentAssertions best practices docs

License

NotificationsYou must be signed in to change notification settings

fluentassertions/fluentassertions.analyzers

Repository files navigation

Extension methods to fluently assert the outcome of .NET tests

CIGitHub Repo starsGitHub contributorsGitHub last commitGitHub commit activityopen issues

A collection of Analyzers based on the best practicestips.

Alt

Analysis and Code Fix in Action

Demo

Install

using the latest stable version:

dotnet add package FluentAssertions.Analyzers

Docs

Configuration

© Thanks tohttps://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

dotnettest --configuration Release  --filter'TestCategory=Completed'

Benchmarks

https://fluentassertions.github.io/fluentassertions.analyzers/dev/bench/

Example Usages


[8]ページ先頭

©2009-2025 Movatter.jp