minkphp / driver-testsuite

Functional testsuite for Mink drivers
MIT License
8 stars 29 forks source link

Remove usage of onNotSuccessfulTest to mark tests as skipped #65

Closed stof closed 1 year ago

stof commented 1 year ago

Tests are not marked as skipped automatically anymore when an UnsupportedDriverActionException is caught. Instead, drivers should configure their unsupported tests properly in their testsuite config. PHPUnit 10 removed support for changing the test outcome in the onNotSuccessfulTest method of the TestCase so the previous solution will not work anymore in the future.

TODO: update all drivers to add the proper skipped tests in their config