XD-Testing
A testing library for cross-device (XD) web applications. Based on WebdriverIO and uses the Selenium browser automation stack. This project was developed at ETH Zurich by Michael Spiegel and supervised by Maria Husmann and Alfonso Murolo.
Here is an example test case using Mocha:
var xdTesting = // Use a Nexus 5 and a Desktop Chrome browservar scenario = "Nexus 5": xdTestingtemplatesdevicesnexus5 "Desktop": xdTestingtemplatesdeviceschrome
Installation
Install xd-testing via npm:
npm install --save xd-testing
Additionally, the selenium-standalone package and Mocha are recommended:
npm install --save selenium-standalone mocha
You can also use any Selenium server package and test runner.