Repository navigation
tdd-guard/phpunit v0.1.0
New Features
- Initial release of TDD Guard PHPUnit reporter (contributed by @wazum)
- PHPUnit 9.x, 10.x, and 11.x support
- Automatic test result capture and storage
- Compatible with TDD Guard's validation system
- Configurable project root detection
Documentation
- Comprehensive README with installation instructions
- Configuration examples for PHPUnit 9.x and 10.x+
- Multiple project root configuration options
Contributors
A huge thank you to @wazum for contributing this PHPUnit reporter to TDD Guard!
Installation
composer require --dev tdd-guard/phpunit:^0.1.0Configure in your `phpunit.xml`:
PHPUnit 10.x+:
<extensions>
<bootstrap class="TddGuard\PHPUnit\TddGuardExtension">
<parameter name="projectRoot" value="/absolute/path/to/project/root"/>
</bootstrap>
</extensions>PHPUnit 9.x:
<listeners>
<listener class="TddGuard\PHPUnit\TddGuardListener">
<arguments>
<string>/absolute/path/to/project/root</string>
</arguments>
</listener>
</listeners>Requirements
- PHP 8.1+
- PHPUnit 9.0+ or 10.0+ or 11.0+
- TDD Guard installed globally
Full Changelog
Initial release - https://github.com/nizos/tdd-guard/tree/phpunit-v0.1.0/reporters/phpunit