-
Notifications
You must be signed in to change notification settings - Fork 157
Assert.CatchAsync
Chris edited this page Sep 5, 2016
·
5 revisions
Assert.CatchAsync is similar to Assert.ThrowsAsync but will pass for an exception that is derived from the one specified.
Exception Assert.CatchAsync( AsyncTestDelegate code );
Exception Assert.CatchAsync( AsyncTestDelegate code,
string message, params object[] parms );
Exception Assert.CatchAsync( Type expectedExceptionType, AsyncTestDelegate code );
Exception Assert.CatchAsync( Type expectedExceptionType, AsyncTestDelegate code,
string message, params object[] parms );
T Assert.CatchAsync<T>( AsyncTestDelegate code );
T Assert.CatchAsync<T>( AsyncTestDelegate code,
string message, params object[] parms );
####See also...
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers