|
# DSI-test-machine
|
|
# DSI-test-machine
|
|
|
|
|
|
The testing framework is installed on this machine so that anyone that has access to it can run the MathJax tests on Mac, Windows and Linux. The instructions below together with the QA documentation should allow to run the tests and maintain this machine up-to-date.
|
|
|
|
|
|
|
|
## QA Documentation
|
|
|
|
|
|
|
|
* http://devel.mathjax.org/testing/web/docs/html/installation.html
|
|
|
|
* http://devel.mathjax.org/testing/web/docs/html/qa-web-interface.html
|
|
|
|
* http://devel.mathjax.org/testing/web/docs/html/qa-command-line.html
|
|
|
|
|
|
|
|
## Remote Control
|
|
## Remote Control
|
|
|
|
|
|
1. OS selection
|
|
1. OS selection
|
... | @@ -57,27 +49,3 @@ The testing framework is installed on this machine so that anyone that has acces |
... | @@ -57,27 +49,3 @@ The testing framework is installed on this machine so that anyone that has acces |
|
|
|
|
|
3. Move in Cygwin. Results are located in "~/MathJax-test/web/results/".
|
|
3. Move in Cygwin. Results are located in "~/MathJax-test/web/results/".
|
|
You can send them to our public server using scp (not tested yet!). |
|
You can send them to our public server using scp (not tested yet!). |
|
|
|
|
|
## Maintenance
|
|
|
|
Some maintenance operations have to be done more or less regularly. Below a UNIX terminal means Cygwin on Windows.
|
|
|
|
|
|
|
|
1. Updating the testing framework.
|
|
|
|
This is not really needed on Ubuntu, maybe just doing "git pull; cp default.cfg custom.cfg" is enough.
|
|
|
|
* Stop the task handler if it is running.
|
|
|
|
* Open a UNIX terminal and go in MathJax-test/
|
|
|
|
* Backup the default configuration: "cp default.cfg default-.cfg"
|
|
|
|
* Get the update: "git pull"
|
|
|
|
* Verify whether the format of the configuration file has changed: "diff default.cfg default-.cfg". If so, then you will have to add/remove configuration options in custom.cfg accordingly. Hopefully, this format won't change too often.
|
|
|
|
* "make config"
|
|
|
|
|
|
|
|
2. Updating the selenium driver / mathjax branches (not needed on Ubuntu)
|
|
|
|
* Open a UNIX terminal and go in MathJax-test/
|
|
|
|
* MacOS: "sudo make updateSeleniumDriver", Windows: "make updateSeleniumDriver"
|
|
|
|
* "make updateMathJaxBranches"
|
|
|
|
|
|
|
|
3. Updating the Selenium server(s)
|
|
|
|
* Stop the Selenium server(s) if they are running.
|
|
|
|
* Open a terminal and go in MathJax-test/
|
|
|
|
* "make updateSeleniumServer" (maybe specifying the VERSION if the one in custom.cfg is not up-to-date)
|
|
|
|
|
|
|
|
4. Updating Browsers, Fonts, MathPlayer, other Webdriver's components etc |
|
|