lvlup-dev/testeye-phpunit

PHPUnit Hooks to keep an eye on your tests, via TestEye.io

0.3.1 2020-06-30 06:47 UTC

This package is auto-updated.

Last update: 2024-10-29 05:41:20 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This is an extension for phpunit. It listens to your tests suites and upload your reports to TestEye.io.

Installation

You can install the package via composer:

composer require lvlup-dev/testeye-phpunit --dev

Usage

  • Go to https://testeye.io/ and grab your project's token.
  • Register the extension in your phpunit.xml file :
<extensions>
    <extension class="Lvlup\TestEye\TestEyeHook">
        <arguments>
                <string>YOUR_TOKEN_HERE</string>
                <string>https://testeye.io/report/phpunit</string>
        </arguments>
    </extension>
</extensions>
  • Run your tests as usual, using ./vendor/bin/phpunit (it works with pest, too)
  • Access your dashboard to see your report, in real-time.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email didier@lvlup.fr instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.