Release Notes: July 24, 2022
xUnit.net v2 2.4.2 Pre-Release (build 27)
BUG: Type inference gets confused when one theory parameter is null
BUG: Converting theory data failed when there were multiple
op_Explicit methods that might qualify for conversion.
BUG: Fixed a deserialization issue with skipped theories
BUG: Fixed an issue with missing flow IDs when reporting results to TeamCity
BUG: Fix Console colors concurrency handling
Assert.Distinct, which ensures that every item in a collection is distinct.
KeyValuePair<TKey,TValue> argument formatting. Old format:
[Key] = Value. We also stopped special-casing dictionaries (they're just printed
KeyValuePair collections). This is most obviously visible in
when dictionaries are missing entries (or contain extra entries in strict mode).
KeyValuePair<TKey,TValue> to use equivalence for
key vs. key and value vs. value. This is most obviously visible when testing for dictionary equivalence when
the key or value is a collection (now those are recursively called into
they were previously using simple equality tests).
Assert.Equal failed, it was causing a second
enumeration, which could fail and/or have a significant performance penalty.