The core team recently voted in favour of retiring the current web test runner (TestRunner
) (accessible via dev/tests
).
The current web test runner functions differently to the sake/phpunit test runners, is susceptible to superglobal leakage, and is basically a bit of a pain to maintain because of the difference in running environments. Also, it's extra code weight and attack surface for live environments when it should really be a dev dependency.
This RFC suggests it is replaced with a module that:
- functions as a web wrapper to call the test runner via the
phpunit
binary - with a listener feeding back to the UI via WebSocket.
- would run only in dev mode
- strongly discourage being loaded as anything but a dev dependency
First steps required:
- community scrutiny
- a proof of concept 😉