auto_test | Watches code and tests for changes, rerunning tests as... |
auto_test_package | Watches a package for changes, rerunning tests as... |
capture_condition | Capture conditions, including messages, warnings,... |
capture_output | Capture output to console |
CheckReporter | Check reporter: 13 line summary of problems |
compare | Provide human-readable comparison of two objects |
compare_state | Compare two directory states. |
comparison-expectations | Does code return a number greater/less than the expected... |
context | Describe the context of a set of tests. |
context_start_file | Start test context from a file name |
DebugReporter | Test reporter: start recovery. |
default_reporter | Retrieve the default reporter |
describe | describe: a BDD testing language |
dir_state | Capture the state of a directory. |
equality-expectations | Does code return the expected value? |
evaluate_promise | Evaluate a promise, capturing all types of output. |
expect | The building block of all 'expect_' functions |
expectation | Construct an expectation object |
expect_equivalent | Is an object equal to the expected value, ignoring... |
expect_error | Does code throw an error, warning, message, or other... |
expect_invisible | Does code return a visible or invisible object? |
expect_is | Does an object inherit from a given class? |
expect_known_output | Expectations: is the output or the value equal to a known... |
expect_length | Does code return a vector with the specified length? |
expect_less_than | Deprecated numeric comparison functions |
expect_match | Does a string match a regular expression? |
expect_named | Does code return a vector with (given) names? |
expect_no_error | Does code run without error, warning, message, or other... |
expect_null | Does code return 'NULL'? |
expect_output | Does code print output to the console? |
expect_output_file | Expectations: is the output or the value equal to a known... |
expect_reference | Does code return a reference to the expected object? |
expect_setequal | Does code return a vector containing the expected values? |
expect_silent | Does code execute silently? |
expect_snapshot | Snapshot testing |
expect_snapshot_file | Snapshot testing for whole files |
expect_snapshot_output | Snapshot helpers |
expect_snapshot_value | Snapshot testing for values |
expect_success | Tools for testing expectations |
expect_that | Expect that a condition holds. |
expect_vector | Does code return a vector with the expected size and/or... |
fail | Default expectations that always succeed or fail. |
FailReporter | Test reporter: fail at end. |
find_reporter | Find reporter object given name or object. |
find_test_scripts | Find test files |
inheritance-expectations | Does code return an object inheriting from the expected base... |
is_informative_error | Is an error informative? |
is_testing | Determine testing status |
JunitReporter | Test reporter: summary of errors in jUnit XML format. |
ListReporter | List reporter: gather all test results along with elapsed... |
local_edition | Temporarily change the active testthat edition |
local_mocked_bindings | Mocking tools |
local_snapshotter | Instantiate local snapshotting context |
local_test_context | Locally set options for maximal test reproducibility |
local_test_directory | Locally set test directory options |
LocationReporter | Test reporter: location |
logical-expectations | Does code return 'TRUE' or '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. |
ProgressReporter | Test reporter: interactive progress bar of errors. |
quasi_label | Quasi-labelling |
reexports | Objects exported from other packages |
Reporter | Manage test reporting |
reporter-accessors | Get and set active reporter. |
RStudioReporter | Test reporter: RStudio |
run_cpp_tests | Do C++ tests past? |
set_max_fails | Set maximum number of test failures allowed before aborting... |
set_state_inspector | State inspected |
SilentReporter | Test reporter: gather all errors silently. |
skip | Skip a test |
skip_on_travis | Superseded skip functions |
snapshot_accept | Snapshot management |
source_file | Source a file, directory of files, or various important... |
StopReporter | Test reporter: stop on error |
SummaryReporter | Test reporter: summary of errors. |
takes_less_than | Does code take less than the expected amount of time to run? |
TapReporter | Test reporter: TAP format. |
TeamcityReporter | Test reporter: Teamcity format. |
teardown | Run code before/after tests |
teardown_env | Run code after all test files |
test_dir | Run all tests in a directory |
test_env | Generate default testing environment. |
test_examples | Test package examples |
test_file | Run tests in a single file |
test_package | Run all tests in a package |
test_path | Locate a file in the testing directory |
test_that | Run a test |
testthat_examples | Retrieve paths to built-in example test files |
testthat-package | An R package to make testing fun! |
testthat_results | Create a 'testthat_results' object from the test results as... |
testthat_tolerance | Default numeric tolerance |
try_again | Try evaluating an expressing multiple times until it... |
use_catch | Use Catch for C++ Unit Testing |
verify_output | Verify output |
watch | Watch a directory for changes (additions, deletions &... |
with_mock | Mock functions in a package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.