-
Notifications
You must be signed in to change notification settings - Fork 158
Assert.True
jnm2 edited this page Jun 14, 2017
·
5 revisions
Assert.True and Assert.IsTrue test that the specified condition is true. The two forms are provided for compatibility with past versions of NUnit and NUnitLite.
Assert.True(bool condition);
Assert.True(bool condition, string message, params object[] parms);
Assert.IsTrue(bool condition);
Assert.IsTrue(bool condition, string message, params object[] parms);
You may also use Assert.That with a boolean argument to achieve the same result.
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