Help for Writing Unit Tests Based on Function Examples


[Up] [Top]

Documentation for package ‘exampletestr’ version 1.3.1

Help Pages

construct_expect_equal Construct an 'expect_equal' expression
extract_examples Extract examples lines from the functions in a .R file of a package.
extract_examples_rd Extract examples from a '.Rd' file as a character vector.
extract_expressions Text expression groups.
make_tests_shells_file Create test shells.
make_tests_shells_pkg Create test shells.
make_test_shell Make the shell of a 'test_that' test.
make_test_shell_fun Create test shells.
test-shells Create test shells.
text_parse_error Does parsing of text give an error?