Skip to content

Commit

Permalink
Use FluentAssertions (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Mar 28, 2024
1 parent f48fc47 commit 803d079
Show file tree
Hide file tree
Showing 35 changed files with 7,688 additions and 7,701 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Expand Up @@ -46,10 +46,14 @@ dotnet_diagnostic.CA2254.severity = warning # Template should be a static expres
dotnet_diagnostic.CS8763.severity = warning # A method marked [DoesNotReturn] should not return.
dotnet_diagnostic.CS8770.severity = warning # Method lacks [DoesNotReturn] annotation to match implemented or overridden member.

dotnet_diagnostic.FAA0004.severity = error # Replace NUnit assertion with Fluent Assertions equivalent

dotnet_diagnostic.NUnit1001.severity = none # The individual arguments provided by a TestCaseAttribute must match the type of the corresponding parameter of the method
dotnet_diagnostic.NUnit2005.severity = suggestion # Consider using Assert.That(actual, Is.EqualTo(expected)) instead of Assert.AreEqual(expected, actual)
dotnet_diagnostic.NUnit2021.severity = warning # Incompatible types for EqualTo constraint



dotnet_diagnostic.QW0001.severity = none # Use a testable Time Provider
dotnet_diagnostic.QW0010.severity = none # Use DateOnly instead of Date
dotnet_diagnostic.QW0003.severity = warning # Decorate Pure functions
Expand Down
2 changes: 2 additions & 0 deletions props/package.props
Expand Up @@ -9,6 +9,8 @@

<PropertyGroup Label="Package info">
<IsPackable>true</IsPackable>
<!-- disable for now -->
<EnablePackageValidation>false</EnablePackageValidation>
<PackageIcon>package-icon.png</PackageIcon>
<PackageIconUrl>https://github.com/Qowaiv/Qowaiv/blob/master/design/package-icon.png</PackageIconUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 803d079

Please sign in to comment.