getJsUnitTestStatus {RSauceLabs} | R Documentation |
Get JS Unit Test Status
Description
Get the status of your JS unit tests
Usage
getJsUnitTestStatus(account, username = Sys.getenv("SLUSER"), js_tests, ...)
Arguments
account |
An object of class "account". An account object see |
username |
SauceLabs username |
js_tests |
a vector of job ids. |
... |
Additonal function arguments - Currently unused. |
See Also
Other jsUnitTestMethods: startJsUnitTests
Examples
## Not run:
# use test example from
#https://wiki.saucelabs.com/display/DOCS/JavaScript+Unit+Testing+Methods
platforms <- list(c("Windows 7", "firefox", "27"),
c("Linux", "googlechrome", "")
)
appUrl <- "https://saucelabs.com/test_helpers/front_tests/index.html"
framework <- "jasmine"
myAcc <- account()
myTest <- startJsUnitTests(myAcc, platforms = platforms, url = appUrl, framework = framework)
#> unlist(myTest, use.names = FALSE)
#[1] "bc8b9ef6e6184ed8a7e5270344115999" "bf43cef30bca429eaa2ed08da09dbdce"
testIds <- unlist(myTest, use.names = FALSE)
testRes <- getJsUnitTestStatus(myAcc,js_tests = testIds)
## End(Not run)
[Package RSauceLabs version 0.1.6 Index]