Skipping a test during setUp
will not dispatch test finished event
#5544
Labels
feature/events
Issues related to PHPUnit's event system
feature/test-runner
CLI test runner
type/bug
Something is broken
version/10
Something affects PHPUnit 10
Summary
I noticed that given the following test class
There is no
PHPUnit\Event\Test\Finished
event dispatched for thetestSkipped
test.If I move the
markTestSkipped
into the test method itself then it is dispatched.Is this on purpose? 🤔
The text was updated successfully, but these errors were encountered: