johnkary/phpunit-speedtrap

Documentation usage example

netdjw opened this issue · 2 comments

On the GitHub repository main page currently is the example under "Usage" section:

<phpunit bootstrap="vendor/autoload.php">
...
    <extensions>
        <extension class="JohnKary\PHPUnit\Extension\SpeedTrap" />
    </extensions>
</phpunit>

I tried this code and failed. But this one is worked:

    <listeners>
        <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
    </listeners>
tn3rb commented

ya they changed the namespace back in March 2021 but didn't update the docs:
8c280ee

I just hit this issue; seems like if @johnkary just published a new release this would be resolved...