Method RecordExceptionAsync
- Namespace
- Xunit
- Assembly
- xunit.v3.assert.dll
RecordExceptionAsync(Func<Task>)
Records any exception which is thrown by the given task.
protected static Task<Exception?> RecordExceptionAsync(Func<Task> testCode)
Records any exception which is thrown by the given task.
protected static Task<Exception?> RecordExceptionAsync(Func<Task> testCode)