Learn R Programming

testex (version 0.2.1)

test_files: Test a list of files

Description

Test a list of files

Usage

test_files(files, context, reporter, ...)

Value

The result of testthat::source_file(), after iterating over generated test files.

Arguments

files

A collection of file paths to test

context

An optional context message to display in testthat reporters

reporter

A reporter to use when running each test file

...

Additional arguments passed to testhat::source_file