-
Couldn't load subscription status.
- Fork 161
EmptyStringConstraint
Chris Maddock edited this page May 27, 2017
·
4 revisions
The EmptyStringConstraint tests if a string is empty.
EmptyStringConstraint()Is.EmptyAssert.That(string.Empty, Is.Empty);
Assert.That("A String", Is.Not.Empty);Note: Is.Empty actually creates an EmptyConstraint. Subsequently applying it to a string causes an EmptyStringConstraint to be created.
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