tinytest (version 1.1.0)

exit_file: Stop testing

Description

Call this function to exit a test file.

Usage

exit_file(msg = "")

Arguments

msg

[character] An optional message to print after exiting.

Value

The exit message

See Also

Other test-files: build_install_test, run_test_dir, run_test_file, summary.tinytests, test_package

Examples

Run this code
# NOT RUN {
exit_file("I'm too tired to test")

# }

Run the code above in your browser using DataLab