-
Notifications
You must be signed in to change notification settings - Fork 158
ThrowsNothingConstraint
jnm2 edited this page Mar 18, 2017
·
3 revisions
ThrowsNothingConstraint asserts that the delegate passed as its argument does not throw an exception.
ThrowsNothingConstraint()
Throws.Nothing
Assert.That(() => SomeMethod(actual), Throws.Nothing);
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