default_reporter {testthat}R Documentation

Determine default reporters

Description

These three functions are used to determine the default reporters used for test_dir(), test_file(), and test_package():

Both default_reporter() and default_compact_reporter() will use LlmReporter if it appears that the tests are being run by a coding agent.

Usage

default_reporter(parallel = FALSE)

default_compact_reporter()

check_reporter()

Arguments

parallel

If TRUE, return a reporter suitable for parallel testing.


[Package testthat version 3.3.2 Index]