Posted on December 1, 2022 by Christopher SnayAssert DoesNotThrow in XUnit // Act var ex = await Record.ExceptionAsync(() => _thing.DoSomethingAsync()); // Assert Assert.Null(ex);