https://github.com/php-forge/support
Support utilities for enhanced testing capabilities.
https://github.com/php-forge/support
helper phpunit support tests
Last synced: 26 days ago
JSON representation
Support utilities for enhanced testing capabilities.
- Host: GitHub
- URL: https://github.com/php-forge/support
- Owner: php-forge
- License: other
- Created: 2023-07-01T17:49:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-02-19T09:34:20.000Z (3 months ago)
- Last Synced: 2026-04-15T23:11:34.964Z (28 days ago)
- Topics: helper, phpunit, support, tests
- Language: PHP
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Support
Support utilities for PHPUnit-focused development
Reflection helpers, line ending normalization, and filesystem cleanup for deterministic tests.
## Features

### Installation
```bash
composer require php-forge/support:^0.2 --dev
```
### Quick start
This package provides helper classes for PHPUnit tests.
It supports reflection-based access to non-public members, deterministic string comparisons across platforms, and filesystem cleanup for isolated test environments.
#### Accessing private properties
```php
name;
$attributeFragment = " data-size=\"{$normalized}\"";
self::assertSame($expected, $attributeFragment, $message);
}
}
```
##### Enum instance output (non-HTML)
```php
name, $normalized);
}
}
```
## Documentation
For detailed configuration options and advanced usage.
- ๐งช [Testing Guide](docs/testing.md)
- ๐ ๏ธ [Development Guide](docs/development.md)
## Package information
[](https://www.php.net/releases/8.1/en.php)
[](https://packagist.org/packages/php-forge/support)
[](https://packagist.org/packages/php-forge/support)
## Quality code
[](https://codecov.io/github/php-forge/support)
[](https://github.com/php-forge/support/actions/workflows/static.yml)
[](https://github.com/php-forge/support/actions/workflows/linter.yml)
[](https://github.styleci.io/repos/779611775?branch=main)
## Our social networks
[](https://x.com/Terabytesoftw)
## License
[](LICENSE)