View source: R/RtestingHelpers.R
runTestsInternal | R Documentation |
Internal function for initialzing test environment and running tests stored in a folder
runTestsInternal(
testsFolder = firstDef(options("testme")$testme$testsFolder, "./Rtests"),
expectationsFolder = options("testme")$testme$expectationsFolder,
useGit = TRUE,
Ndash = 100,
logLevel = 4
)
testsFolder |
Folder to be tests. Default folder is taken from ‘options(’testme')$testme$testsFolder'. |
expectationsFolder |
Folder where expectations are stored. Default folder is taken from ‘options(’testme')$testme$expectationsFolder'. |
useGit |
boolean to indicate whether vivified expectations should be committed using git |
Ndash |
integer to set length of visual separators |
logLevel |
integer to indicate verbosity of logging information |
returns 0 on success, value greater 0 if tests failed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.