6.9.0
What's Changed
New features
- Added
BeOneOf
forIComparable
s and object comparisons. by @jez9999 in #2028 - Add
BeCloseTo()
/NotBeCloseTo()
to TimeOnlyAssertions by @IT-VBFK in #2030 - Add
ThatAre[Not]Abstract
,ThatAre[Not]Static
andThatAre[Not]Virtual
toPropertyInfoSelector
by @94sedighi in #2054 - Add
ThatAre[Not]Abstract
toMethodInfoSelector
by @94sedighi in #2060 - Add
ThatAre[Not]Abstract
toTypeSelector
by @94sedighi in #2058 - Add
ThatAre[Not]Sealed
toTypeSelector.cs
by @94sedighi in #2059 - Add
ThatAre[Not]Interfaces
toTypeSelector.cs
by @94sedighi in #2057 - Add extensions for
OccurrenceConstraint
that reads more fluently by @IT-VBFK in #2047 - Add
Imply()
toBooleanAssertions
by @IT-VBFK in #2074 - Add
ThatAre[Not]ValueTypes
method toTypeSelector.cs
by @94sedighi in #2083
Improvements
- Order strings with ordinal comparison by @jnyrup in #2075
- Improve performance of
IsTuple()
by @jnyrup in #2079 - Optimize
IsRecord()
by @jnyrup in #2080
Fixes
- Nested
AssertionScope
s do not print inner scope reportables by @94sedighi in #2044 - Extend
ThatArePublicOrInternal
to also look at the setter of properties by @Ruijin92 in #2082 - Treat record structs as records by @salvois in #2009
Documentation
- Document alternatives for collection order by @nycdotnet in #2063
- Document that
PathMap
is currently not supported by @jnyrup in #2067 - Use langword instead of for C# keywords by @jnyrup in #2070
- Add missing exceptions to xml summaries by @jnyrup in #2023
- Improve
Guard
helper by @jnyrup in #2076 - Add issue templates and api review process by @jnyrup in #2078
- Add
cSpell
to NUKE build pipeline by @IT-VBFK in #2086
Others
- Enable CI unit tests on linux and mac by @jnyrup in #2021
- update catch phrase url by @danielchalmers in #2025
- Prepare approval tests for .NET 7 by @jnyrup in #2024
- Use PolySharp to generate polyfill attributes by @jnyrup in #2026
- New unit test to verify CompleteWithinAsync behaves correctly in an assertion scope by @lg2de in #2033
- Fix nuget config to be able to restore/build the project when having custom HTTP nuget sources by @ITaluone in #2032
- Improve coverage on data assertions by @lg2de in #2037
- Bump minimum SDK to 6.0.400 by @jnyrup in #2038
- Let
EquatableOfInt
implementIComparable<T>
by @jnyrup in #2036 - New tests for better code coverage on collection assertions by @lg2de in #2035
- Comparable type assertions referential equality by @jnyrup in #2046
- Use TheoryData by @jnyrup in #2068
- Pattern combinators by @jnyrup in #2039
- Update nugets by @jnyrup in #2077
- Set process dotnet cli language to en-US by @IT-VBFK in #2084
- Bump required .NET SDK to v7 by @jnyrup in #2087
- Optimize NUKE spell check by @IT-VBFK in #2089
- Cleanups by @jnyrup in #2081
- Fix build breaking on non PR branches by @IT-VBFK in #2090
- Add process env variable
DOTNET_CLI_UI_LANGUAGE
also inside targets by @ITaluone in #2092
New Contributors
- @danielchalmers made their first contribution in #2025
- @jez9999 made their first contribution in #2028
- @94sedighi made their first contribution in #2054
- @Ruijin92 made their first contribution in #2082
- @salvois made their first contribution in #2009
Full Changelog: 6.8.0...6.9.0