RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Port tests to TRAVIS

Open johndharrison opened this issue 8 years ago • 2 comments

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

johndharrison avatar Sep 18 '16 13:09 johndharrison

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.

johndharrison avatar Sep 18 '16 20:09 johndharrison

The utility functions in util.R are mainly tested using mocking.

johndharrison avatar Sep 20 '16 11:09 johndharrison