This repository moved to w3c/web-platform-tests/web-platform-tests/mathml.
This repository contains tests for the MathML in HTML5 implementation note. We follow the formats and conventions of W3C's Test the Web Forward Project, please read their documentation for details. The main goals are:
- helping implementers to verify conformance with the technical description given in the MathML in HTML5 note.
- provide a set of automatable tests to integrate into the testing framework of web browser developers.
You must at least install git and python. Clone the repository with
$ git clone --recursive https://github.com/username/MathMLinHTML5-tests.git
If you cloned the repository without --recursive, you will likely have empty
resources
and tools
directories at the root of your cloned repo. You can
clone the submodules with these additional steps:
$ cd MathMLinHTML5-tests
$ git submodule update --init --recursive
Next, generate the MANIFEST.json file with the following command:
$ python tools/manifest/update.py
To verify the tests in your browser, you also need to setup a web server whose
root points to the root of the cloned repo. For a quick setup, you can just run
the server.py
Python script at the root:
$ python server.py
Finally, open index.html
at the web server root to get an overview of all the
tests. Using W3C's wptserve has not been tried but the tests can easily be
imported into other automated testing framework anyway.