Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ShouldExist and ShouldNotExist for FileInfo and DirectoryInfo #918

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elhosayny
Copy link

Introduced new extension methods to enhance file system testing:

  • ShouldExist for both FileInfo and DirectoryInfo.
  • ShouldNotExist for both FileInfo and DirectoryInfo.

These methods provide a more intuitive way to assert the existence or non-existence of files and directories.

Resolves #896

@elhosayny elhosayny force-pushed the feature/896-shouldly-filesystem-extensions branch 2 times, most recently from 160d855 to 68a8244 Compare August 16, 2023 21:16
Introduced new extension methods to enhance file system testing:
- `ShouldExist` for both FileInfo and DirectoryInfo.
- `ShouldNotExist` for both FileInfo and DirectoryInfo.

These methods provide a more intuitive way to assert the existence or
non-existence of files and directories.

Resolves shouldly#896
@elhosayny elhosayny force-pushed the feature/896-shouldly-filesystem-extensions branch from 68a8244 to f54ace1 Compare August 16, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ShouldExist on file or directory based objects
1 participant