Multibrowser test environment
Multiplatform / Browser testing via node.js servers to communicate over http and open browser sequentially.
npm install mtest -g
In some Linux distrubutions sudo maybe neccessery for the -g flag.
mtest.json for configuration:
MTest comes with two executables:
mtest-runnerThis is responsible for calling remote machines. This process will exit with 0 for sucess or 1 for failure.
mtest-serverThis is the executable to be run on the servers
When the page opens in the browser it's expected to run the tests and send the results to (POST)
with the following json:
Where the # are the counts.
After this request the mtest-server closes the current and opens the next browser in the queue or sends reports to the runner if no browsers are left.
If there is even one failed step in any of the reports the test is considered failed and the mtest-runner will exit with code 1.
For IE you will need to add the hostname/ip of the server hosting the test page to your local networks, and maybe lower security in order for the XHR request to reach localhost.
More browsers will be added in the future.
Currenty the values for the app paths are hard wired, there will be configuration for this in the future