Skip to contents

All functions

at_home()
Detect not on CRANity
build_install_test()
build, install and test
exit_file() exit_if_not()
Stop testing (conditionally)
expect_equal() expect_identical() expect_equivalent() expect_true() expect_false() expect_silent() expect_null() expect_inherits() expect_error() expect_warning() expect_message() expect_stdout()
Express expectations
expect_equal_to_reference() expect_equivalent_to_reference()
Compare object with object stored in a file
expect_length()
Check length of an object
expect_match()
Match strings to a regular expression
get_call_wd()
Get workding dir from where a test was initiated
ignore()
Ignore the output of an expectation
format(<tinytest>) print(<tinytest>)
Print a tinytest object
register_tinytest_extension()
Register or unregister extension functions
report_side_effects()
Report side effects for expressions in test files
run_test_dir() test_all()
Run all tests in a directory
run_test_file()
Run an R file containing tests; gather results
setup_tinytest()
Add tinytest to package source directory
test_package()
Test a package during R CMD check or after installation
summary(<tinytests>) all_pass() any_pass() all_fail() any_fail() `[`(<tinytests>) print(<tinytests>) as.data.frame(<tinytests>)
Tinytests object
using()
Use an extension package.