https://github.com/bbatsche/filesystem-assertions
PHPUnit assertions for filesystem objects
https://github.com/bbatsche/filesystem-assertions
assertions filesystem php phpunit testing
Last synced: 3 months ago
JSON representation
PHPUnit assertions for filesystem objects
- Host: GitHub
- URL: https://github.com/bbatsche/filesystem-assertions
- Owner: bbatsche
- License: mit
- Created: 2022-04-17T02:31:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T01:52:24.000Z (almost 2 years ago)
- Last Synced: 2024-12-29T06:21:42.418Z (5 months ago)
- Topics: assertions, filesystem, php, phpunit, testing
- Language: PHP
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# PHPUnit Filesystem Assertions
This is a small collection PHPUnit assertions for testing filesystem entries. It is meant to compliment the assertions already built into PHPunit.
[](https://packagist.org/packages/bebat/filesystem-assertions)
[](https://packagist.org/packages/bebat/filesystem-assertions)
[](LICENSE)
[](https://github.com/bbatsche/filesystem-assertions/actions/workflows/acceptance.yml)
[](https://codecov.io/gh/bbatsche/filesystem-assertions)## Table of Contents
- [Installation](#installation)
- [Available Assertions](#available-assertions)## Installation
Use Composer to install the current version of PHPUnit Filesystem Asserts from [Packagist](https://packagist.org/packages/bebat/phpunit-filesystem-assert).
```bash
composer require --dev bebat/filesystem-assertions
```The easiest way to add these assertions to your test case(s) is using a trait:
```php