test_file_pure: Run all tests in a single file purely

View source: R/pure.R

test_file_pureR Documentation

Run all tests in a single file purely

Description

Helper, setup, and teardown files located in the same directory as the test will also be run. These pure functions will only run test_that() calls.

Usage

test_file_pure(path, ...)

Arguments

path

Path to file.

...

Additional parameters passed on to testthat::test_file()

Examples

path <- testthat::testthat_example("success")
test_file_pure(path)
test_file_pure(path, reporter = "minimal")

EmilHvitfeldt/monkeytest documentation built on May 12, 2022, 12:34 a.m.