Today, we're shipping two new releases:
It's been 2 weeks since the release of 1.9.0 RTM.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code contributions. 🎉
These release notes are a comprehensive list of changes from 1.9.0 to 1.10.0.
FactAttribute
-derived class. While this is legal in the compiler, it fails at runtime due to being
unsupported by the test framework.
xunit/xunit#2120
StringValues
.
Calling Assert.Empty
with an instance of StringValues
calls the wrong overload
because of an implicit cast from StringValues
to string
(and when the collection
is empty, it returns a null
string), so using something like Assert.Equal(0, stringValues.Count);
is the preferred way to check for an empty StringValues
collection.
xunit/xunit#2859
Assert.Empty
or Assert.NotEmpty
with either StringValues
or
ArraySegment<T>
.
Both collection types have problematic behavior that is explained in the documentation.
xunit/xunit#2860