Skip to content

Instantly share code, notes, and snippets.

@chillu
Created June 8, 2015 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chillu/93eb5e8191b257bb24b6 to your computer and use it in GitHub Desktop.
Save chillu/93eb5e8191b257bb24b6 to your computer and use it in GitHub Desktop.
RFC: Retiring and replacing the web test runner

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 😉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment