-
Notifications
You must be signed in to change notification settings - Fork 161
FileOrDirectoryExistsConstraint
jnm2 edited this page Jun 14, 2017
·
4 revisions
FileOrDirectoryExistsConstraint tests that a File or Directory exists.
FileOrDirectoryExistsConstraint()Does.Exist
Does.Not.ExistIgnoreDirectories
IgnoreFilesAssert.That(fileStr, Does.Exist);
Assert.That(dirStr, Does.Exist);
Assert.That(fileStr, Does.Not.Exist);
Assert.That(dirStr, Does.Not.Exist);
Assert.That(new FileInfo(fileStr), Does.Exist);
Assert.That(new DirectoryInfo(dirStr), Does.Exist);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