6.6.0
What's Changed
New features
- Adding support for .NET6
DateOnly
struct by @iliashkolyar in #1844 - Adding support for .NET6
TimeOnly
struct by @iliashkolyar in #1848 - Extend
NullableBooleanAssertions
byNotBe()
by @mu88 in #1865 - Added a new overload to
MatchRegex()
to assert on the number of regex matches by @IT-VBFK in #1869
Improvements
- Annotated
[Not]MatchRegex
with[StringSyntax("Regex")]
by @jnyrup in #1816 - Determine caller name for
EnumAssertions.Be
by @jnyrup in #1835 - Add difference to numeric assertion failure messages by @iliashkolyar in #1859
- Improve difference calculation of overflowing integrals by @jnyrup in #1875
Fixes
- Ensure
ExcludingMissingMembers
doesn't undo usage ofWithMapping
by @dennisdoomen in #1838 - Better support for NaN in numeric assertions on floats and doubles by @dennisdoomen in #1822
WithMapping
now works in equivalency assertions on collections by @dennisdoomen in #1858- Better handling of NaN in nullable numeric assertions by @jnyrup in #1867
Documentation
- Fix typo in comment for
ComparingRecordsByMembers
by @kijanawoodard in #1809 - Add release notes template by @jnyrup in #1818
- Update migration tip on how to replace
AllItemsAreInstancesOfType
by @IT-VBFK in #1873
Others
- Add code coverage reporting by @eNeRGy164 in #1815
- Fix uninvoked actions in tests by @jnyrup in #1817
- Update nuget packages by @jnyrup in #1819
- More Code Coverage by @jnyrup in #1820
- Reordered the numeric tests and replaced regions with nested classes by @dennisdoomen in #1821
- Fill gaps in System.Data unit testing by @logiclrd in #1814
- Add net6.0 target by @jnyrup in #1831
- Target PRs at develop instead of master by @jnyrup in #1836
- Adds test for string collection equivalency by @chvollm in #1843
- Replaced regions in numeric specs with nested classes by @dennisdoomen in #1837
- Rename constructor parameter for
NullableDateOnlyAssertions
by @jnyrup in #1846 - Improve code coverage of fake should overloads by @jnyrup in #1847
- Improve code coverage and fix some test mutations by @eNeRGy164 in #1839
- Removes unnecessary code by @chvollm in #1849
A_NaN_is_never_in_range_of_two_doubles
was exercisingfloat
s by @jnyrup in #1852- Split
StringAssertionSpecs
file by @eNeRGy164 in #1855 - Update internal test and build nuget packages by @jnyrup in #1866
- Add test coverage for
OccurrenceConstraint
by @eNeRGy164 in #1856 - Fix Some Typos in UpgradingToV6.md by @say25 in #1870
- Cleanups in Specs by @jnyrup in #1853
New Contributors
- @kijanawoodard made their first contribution in #1809
- @say25 made their first contribution in #1870
- @IT-VBFK made their first contribution in #1869
Full Changelog: 6.5.1...6.6.0