Skip to content

TheGilt/UITesting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UITesting

prod: Build Status

test: Build Status

Requirments

Setup in Ubuntu

Set environment variables

From the command line (or in .bashrc file):

export ISR_login=yourImmuneSpace@email.here
export ISR_pwd=yourImmuneSpacePasswordHere
export SAUCE_USERNAME=yourUsername
export SAUCE_ACCESS_KEY=yourAccessKey

Run tests

To run all tests from the command line:

Rscript test.R

Or in R:

source("test.R")

To run a test file in R:

testthat::test_file("tests/test-front.R")

Setup in Travis CI

Configure .travis.yml

  • To install R and required packages
  • To cache packages
  • To run test.R script
  • To setup Sauce Connect
  • To communicate with Sauce Labs after test
  • To notify a Slack channel

Set environment variables

See Defining Variables in Repository Settings

Create DESCRIPTION file

Even though this is not a package, DESCRIPTION file is needed to run a builder in Travis in order to declare dependencies according to Hadley

Tests

To Do

About

ImmuneSpace UI Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%