RSelenium
RSelenium copied to clipboard
Port tests to TRAVIS
Travis now runs Docker containers and R is a first class citizen. Can move tests to TRAVIS. Also tackles changes in upstream R regarding testing.
- [x] Add api tests
- [x] Add alerts tests
- [x] Add cookie tests
- [x] Add executing javascript tests
- [ ] Add frame switching tests
- [x] Add page loading tests
- [x] Add screenshot tests
- [x] Add util function tests
RJSONIO fails to install with devtools. In addition RJSONIO has conflicts with covr.
In light of this jsonlite and rjson were looked at as direct replacements. rjson was chosen as only the fromJSON function was required. jsonlite has useful options to convert JSON to R objects etc. Using it as a replacement for RJSONIO presented more issues and was less straight-forward then using rjson.
The utility functions in util.R are mainly tested using mocking.