Remote integration tests for Open Media Player, by IET at The Open University.
Note: this repository is an interim solution. Naturally, we want the tests in the same code-base as the Player.
Built on: mocha, chai, chai-http and webdriver.io.
- A recent node.js, including
npm
.
- Clone the repo.
- In a terminal type,
npm install && npm test
If you're behind a proxy then you may need to add this to your ~/.gitconfig
file before running npm install
:
# npm/apm proxy error
# https://github.com/npm/npm/issues/5257
# https://github.com/atom/apm/issues/106
[url "https://"]
insteadOf = git://
At a terminal, type crontab -e
:
# min hour dom mo dow command
5 7,16 * * * cd ... /dev_projects/ou-media-player-test ; make crontab >> $HOME/crontab.log 2>&1
#Was: 5 7,10,16 * * * cd ...
#FAIL: 5 7,16 * * * make -f ... /dev_projects/ou-media-player-test/Makefile crontab >> $HOME/crontab.log 2>&1
© 2016-2018 The Open University. (Institute of Educational Technology)