fluentassertions/fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
C#Apache-2.0
Pinned issues
Issues
- 0
[API Proposal]: Method to assert the millisecond part of a DateTime / DateTimeOffset instance
#2738 opened by Zeruxky - 6
ThrowAsync not available for ValueTask
#2698 opened by fseidl-bauradar - 1
- 0
- 4
Asserting `ushort`, `short`, and `byte` shows a conversion in failure message
#2729 opened by siewers - 11
- 9
ArgumentOutOfRangeException in FluentAssertions.Equivalency.Tracing.StringBuilderTraceWriter.ToString()
#2619 opened by vturecek - 9
Add string-options for ignoring newline differences
#2496 opened by vbreuss - 4
BeEquivalentTo on collections presents wrong indices
#2719 opened by quetzalcoatl - 1
- 11
Support for xUnit.net v3
#2709 opened by 0xced - 1
[API Proposal]: Advanced string comparison
#2720 opened by POnakS - 2
ContainSingle(string) is confusing
#2512 opened by slonopotamus - 2
Lack of proper support for `decimal` in `InlineData`.
#2713 opened by satma0745 - 12
[Feature]: Multi dimension arrays assertions
#2596 opened by Meir017 - 1
Assertions on Nullable types do not throw when get null
#2711 opened by Ic3n - 32
Add feature to check if an XElement or XAttribute is absent within the XDocument
#2589 opened by skukshaus - 7
[Feature]: Consider updating the ConfigurationManager transitive dependency version
#2668 opened by ViktorHofer - 9
- 1
Accessing .Which if the constraint fails causes the rest of the code in AssertionScope to be skipped (immediate throw)
#2664 opened by rbeurskens - 2
- 1
Equivalency assertion fails for nullable types when both values are null and an EqualityComparer for the non-nullable type is specified
#2678 opened by scharnyw - 20
- 1
[Feature]: SetEquals, unordered equal for collections
#2650 opened by philipborg - 1
- 4
- 3
[Feature]: Compile time warning/error for chaining Should() after a null conditional (?.)
#2655 opened by Guitarnivore - 7
Null reference exception when using custom comparer in equivalency options
#2595 opened by SvetlanaBurlakova - 18
[API Proposal]: Parsability of strings
#2632 opened by WhatzGames - 0
AssertionScope w/explicit name AND DetermineCallerIdentity doesn't work as expected
#2647 opened by dennisdoomen - 4
Add AllSatisfyOrEmpty for GenericCollection
#2636 opened by dtila - 5
BeXmlSerializable does not respect XmlIgnoreAttribute
#2626 opened by sa-he - 6
Excluding and Including options should fail when applied on types with value semantics
#2571 opened by divega - 2
Equivalency assertion option Excluding outputs "value(...<>c__DisplayClass).variableName" in some instances
#2611 opened by PortalDweller - 2
- 2
Add string-option for ignoring newline style
#2612 opened by jnyrup - 3
[API Proposal]: Allow to assert RegEx matched groups
#2625 opened by rklec - 2
FluentAssertions: using a NullorEqual string EqualityComparer still returns a type difference error
#2621 opened by alelom - 3
- 11
- 10
Add support for asserting NaN values
#2579 opened by xp-development - 2
WithInnerException<T>() needs the type as a parameter
#2598 opened by jjvdgeer - 8
FluetntAssertion doesn't work correctly for records
#2603 opened by AlexeyRaga - 11
- 3
`Should().BeEquivalentTo` failing for identical objects
#2599 opened by RaphCayou - 3
Add `BeValidJson` extensions for strings
#2556 opened by vbreuss - 2
ComparingEnumsByName() seems not to work as expected
#2567 opened by rizi - 3
Add assertions on `JsonElement`
#2559 opened by vbreuss - 1
Add `BeJsonSerializable` extensions for objects
#2555 opened by vbreuss - 0
Update release notes for BeEmpty improvements
#2540 opened by louis-z