Release Notes: July 1, 2018
xUnit.net v2 2.4 RC 1
Core framework
-
The
[Fact]
attribute has regained Timeout
. If you attempt to use it
while any parallelization is turned on, the behavior is undefined.
-
BUG: Fixed an issue where synchronous and asynchronous disposal were running
in parallel. The documented behavior is that asynchronous disposal (via
IAsyncLifetime
)
runs to completion before synchronous disposal (via IDisposable
).
-
BUG: Fixed an issue where a test which returned a non-started
Task
object would
run forever. Now the runner will flag this as an immediate failure.
Assertion library
-
ThrowsException
now exposes the caught exception as InnerException
.
Console runner
- Using
-verbose
now shows test starting & finished messages.
- New option
-nonamespace
can be used to exclude the given namespace.
- New option
-noclass
can be used to exclude the given class.
- New option
-nomethod
can be used to exclude the given method.
MSBuild runner
- Using
Reporter='verbose'
now shows test starting & finished messages.