MathML has improved significantly, however, while the result of the rendering looks quite promising, the code is hard to maintain, and therefore some refactoring will be advisable. @Stegmujo already started building a framework to check for regressions using HTML pages to check the output and compare different renderings. We need to establish a workflow (either via CI or manually) to investigate check for regressions in each change, or at least for each branch.
Related
- https://github.com/physikerwelt/mw-math-testing
- https://github.com/ronkok/Temml/issues/70
- https://phabricator.wikimedia.org/T324440
- https://phabricator.wikimedia.org/T319521
- https://phabricator.wikimedia.org/T361118 (runtime considerations)
- https://phabricator.wikimedia.org/T367148 (wmflabs as environment to run integration tests)
- https://phabricator.wikimedia.org/T352221 (partially related)
- https://phabricator.wikimedia.org/T323942
- https://phabricator.wikimedia.org/T313689 (example for a regression)