Parsoid has a parser tests runner which supports a lot of options over and beyond what the existing PHP version of the test runner supports.
So, we have one of two paths forward:
- Either port the JS version to PHP
- Copy over the PHP version from core and upgrade it to support the features that the JS version supports
We need to figure out which of the two solutions is simpler and makes more sense.