Open
Description
PHPUnit 10 has recently been released and it includes improvements to the testing framework along with a new Event system. Unfortunately, it also brings along a breaking change that causes this library to no longer work. Specifically, the PHPUnit\Framework\TestCase::setName
method has been marked as final and can no longer be overridden. Fortunately, I believe the event system could simplify what we'd have to do.
A tl;dr is that we create an Extension
that invokes EventLoop::getSuspension()->suspend()
in an appropriate event. The first thought is the PHPUnit\Event\Events\Test\Finished
event.
If this sounds like a good place to start I can work on a new branch for PHPUnit 10 support in the next week or two.
Metadata
Metadata
Assignees
Labels
No labels