MathType Web Integrations → Documentation → Development guide → Testing
This project uses Cypress to run integration and validation tests in order to cover all published packages.
Linux users will need to install net-tools
to use Cypress.
$ sudo apt install net-tools
Also, you will need to allow non-local connections to control the X server on your computer.
Run this command:
$ xhost local:root
This has to be executed once after each reboot
Before running the tests you will need to build all package and start all demos.
All tests can be run with the commands:
$ nx run-many --target=start --all --parallel
$ nx run-many --target=test --all --parallel
You can run all tests for a specific demo with the nx test <package>
command.
Before running the tests you will need to build the package and start a demo. For example to run all tests on the ckeditor5
demo run:
$ nx start html-ckeditor5
$ nx test ckeditor5