check {ottr} | R Documentation |
Run the test cases in a test file
Description
Execute checks in a test suite and return the TestFileResult object from executing the test. Optionally prints results of the test to console.
Usage
check(test_file, test_env, show_results)
Arguments
test_file |
Path to a test file |
test_env |
An environment against which to run tests |
show_results |
Whether to print the results to stdout |
Value
The parsed test results for the suite
Examples
## Not run:
check("tests/q1.R")
## End(Not run)
[Package ottr version 1.5.0 Index]