Skip to contents

Generate and check tests

tests_roclet()
Generate ordinary and long testthat tests
longtests_roclet()
Roclet for Long Tests
use_longtests()
Set up long tests for a package
generated_test_inventory() check_generated_tests()
List and check generated tests

Plan and run named cases

test_case_plan()
List named test cases
compare_test_plans()
Compare named test plans
run_test_case()
Run one generated test case by ID
run_test_plan()
Record execution evidence for named test cases
check_test_plan()
Require named cases to complete
test_fixtures
Declare fixtures for named test cases

Replay and reduce failures

write_test_replay() replay_test_case()
Save and replay a failed named test case
reduce_paired_failure()
Reduce a failure in paired experimental data