It's been 1 month since the release of 1.4.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.4.0 to 1.5.0.
null
values into [InlineData]
.
xunit/xunit#2189
xunit/xunit.analyzers#164
[MemberData]
usage with data generation methods have
compatible arguments:
null
to a parameter that is not nullable.
TheoryData<>
from [MemberData]
:
TheoryData<>
for your test method.
TheoryData<>
for your test method.
TheoryData<>
is not compatible with the corresponding parameter in your test method.
TheoryData<>
is a nullable reference type but the test method parameter is not nullable.
ValueTask
in the Assert.Throws
since it is no longer supported as of 2.6.1
(due to compiler ambiguity problems with async lambdas).
Assert.PropertyChangedAsync
Assert.RaisesAnyAsync
Assert.RaisesAsync
Assert.ThrowsAnyAsync
Assert.ThrowsAsync
async
.
xUnit2021 will always be reported regardless of whether the test method is async
or not (and is
reported as an Error, while CS4014 is reported as a Warning).
xunit/xunit#2346
Assert.True
or Assert.False
, and should instead
use a non-negated expression with the opposite assertion.
xunit/xunit#1435