FluentAssertions.Analyzers 0.34.1
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 FluentAssertions.Analyzers
Docs
- FluentAssertions 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://fluentassertions.github.io/fluentassertions.analyzers/dev/bench/
Example Usages
No packages depend on FluentAssertions.Analyzers.
See https://github.com/fluentassertions/fluentassertions.analyzers/releases/
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.34.1 | 11 | 10/08/2024 |
0.33.0 | 13 | 07/12/2024 |
0.32.0 | 28 | 05/24/2024 |
0.31.0 | 0 | 02/29/2024 |
0.30.0 | 0 | 01/24/2024 |
0.29.1 | 0 | 01/17/2024 |
0.29.0 | 0 | 01/04/2024 |
0.28.0 | 0 | 12/27/2023 |
0.27.0 | 0 | 12/08/2023 |
0.26.0 | 0 | 10/28/2023 |
0.25.0 | 0 | 10/03/2023 |
0.24.0 | 0 | 09/01/2023 |
0.23.1 | 0 | 08/25/2023 |
0.23.0 | 0 | 08/22/2023 |
0.22.1 | 0 | 08/25/2023 |
0.22.0 | 0 | 08/15/2023 |
0.21.0 | 0 | 06/28/2023 |
0.20.0 | 0 | 06/15/2023 |
0.19.1 | 0 | 05/30/2023 |
0.19.0 | 0 | 05/30/2023 |
0.18.0 | 0 | 05/27/2023 |
0.17.5 | 0 | 05/27/2023 |
0.17.4 | 0 | 05/27/2023 |
0.17.4-alpha1 | 0 | 05/27/2023 |
0.17.2 | 0 | 04/01/2022 |
0.17.1 | 0 | 04/01/2022 |
0.17.0 | 13 | 02/10/2024 |
0.16.0 | 0 | 02/14/2022 |
0.15.0 | 0 | 01/10/2022 |
0.14.0 | 0 | 01/10/2022 |
0.13.0 | 0 | 11/16/2021 |
0.12.1 | 0 | 10/21/2021 |
0.12.0 | 11 | 01/29/2024 |
0.11.4 | 14 | 03/20/2023 |
0.11.3 | 13 | 01/28/2024 |
0.11.2 | 10 | 01/28/2024 |
0.11.1 | 16 | 02/15/2024 |
0.11.0 | 11 | 12/27/2024 |
0.10.3 | 12 | 01/22/2024 |
0.10.2 | 16 | 02/13/2024 |
0.10.1 | 13 | 01/22/2024 |
0.10.0 | 12 | 01/28/2024 |
0.9.0 | 12 | 02/13/2024 |
0.8.0 | 11 | 01/28/2024 |
0.7.0 | 13 | 02/13/2024 |
0.6.0 | 10 | 02/14/2024 |
0.5.1 | 14 | 02/14/2024 |
0.5.0 | 14 | 12/27/2023 |