A unit testing system designed to be fun, flexible and easy to set up.
|Author||Hadley Wickham [aut, cre], RStudio [cph]|
|Date of publication||2016-04-23 08:37:40|
|Maintainer||Hadley Wickham <firstname.lastname@example.org>|
|License||MIT + file LICENSE|
auto_test: Watches code and tests for changes, rerunning tests as...
auto_test_package: Watches a package for changes, rerunning tests as...
CheckReporter: Check reporter: 13 line summary of problems
compare: Provide human-readable comparison of two objects
compare_state: Compare two directory states.
comparison-expectations: Expectation: is returned value less or greater than specified...
context: Describe the context of a set of tests.
describe: describe: a BDD testing language
dir_state: Capture the state of a directory.
equality-expectations: Expectation: is the object equal to a value?
evaluate_promise: Evaluate a promise, capturing all types of output.
expectation: Expectation class.
expect_cpp_tests_pass: Test Compiled Code in a Package
expect_equal_to_reference: Expectation: is the object equal to a reference value stored...
expect_length: Expectation: does a vector have the specified length?
expect_match: Expectation: does string/output/message/warning/error match a...
expect_named: Expectation: does object have names?
expect_success: Tools for testing expectations
expect_that: Expect that a condition holds.
fail: Default expectations that alway succeed or fail.
FailReporter: Test reporter: fail at end.
find_reporter: Find reporter object given name or object.
find_test_scripts: Find the test files.
inheritance-expectations: Expectation: does the object inherit from a S3 or S4 class,...
ListReporter: List reporter: gather all test results along with elapsed...
logical-expectations: Expectation: is the object true/false?
make_expectation: Make an equality test.
MinimalReporter: Test reporter: minimal.
MultiReporter: Multi reporter: combine several reporters in one.
not: Negate an expectation
oldskool: Old-style expectations.
output-expectations: Expectation: does code produce output/message/warning/error?
reexports: Objects exported from other packages
Reporter: Stub object for managing a reporter of tests.
reporter-accessors: Get/set reporter; execute code in specified reporter.
RstudioReporter: Test reporter: RStudio
safe_digest: Compute a digest of a filename, returning NA if the file...
SilentReporter: Test reporter: gather all errors silently.
skip: Skip a test.
source_file: Source a file, directory, or all helpers.
StopReporter: Test reporter: stop on error.
SummaryReporter: Test reporter: summary of errors.
takes_less_than: Expectation: does expression take less than a fixed amount of...
TapReporter: Test reporter: TAP format.
TeamcityReporter: Test reporter: Teamcity format.
test_dir: Run all of the tests in a directory.
test_env: Generate default testing environment.
test_examples: Test package examples
test_file: Run all tests in specified file.
test_package: Run all tests in an installed package.
test_path: Locate file in testing directory.
testthat: R package to make testing fun!
test_that: Create a test.
testthat_results: Create a 'testthat_results' object from the test results as...
try_again: Try evaluating an expressing multiple times until it...
use_catch: Use Catch for C++ Unit Testing
watch: Watch a directory for changes (additions, deletions &...
with_mock: Mock functions in a package.