register_test_backend: Select Backend for Unit Tests

View source: R/makeExpectation.R

register_test_backendR Documentation

Select Backend for Unit Tests

Description

Allows to explicitly select a backend for the unit tests. Currently supported are "testthat" and "tinytest". The respective package must be installed and are loaded (but not attached).

If this function is not explicitly called, defaults to "testthat" unless the "tinytest"'s namespace is loaded.

Usage

register_test_backend(name)

Arguments

name

[character(1)]
"testthat" or "tinytest".

Value

NULL (invisibly).


checkmate documentation built on Sept. 11, 2024, 8:40 p.m.