NUnit 5: Assert.ThrowsAsync Now Returns a Task, and an Unawaited One Passes Silently
NUnit 5.0.0 makes Assert.ThrowsAsync, CatchAsync and DoesNotThrowAsync truly asynchronous. Forget the await and the assertion never runs. Here is what breaks, what the NUnit.Analyzers NUnit2059 rule catches, and the other NUnit 5 changes to check before upgrading.