Skip to content

tdd-guard/phpunit v0.1.0

Choose a tag to compare

@nizos nizos released this 30 Jul 12:17
· 463 commits to main since this release
phpunit-v0.1.0
4987967

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.0

Configure 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