make_test: Make a Test

View source: R/make_test.R

make_testR Documentation

Make a Test

Description

Make a Test

Usage

make_test(
  expr,
  title = NA_character_,
  args = list(),
  tags = NULL,
  substitute = TRUE,
  reset_workers = FALSE,
  register = TRUE
)

Arguments

expr, substitute

The expression to be tested and whether it is passes as an expression already or not.

title

(character) The title of the test.

args

(optional) Named arguments.

tags

(optional) Character vector of tags.

reset_workers

(optional) Specifies whether background workers should futures.

register

If TRUE, the test is registered in the test database, otherwise not.

Value

(invisibly) A Test.


future.tests documentation built on May 31, 2023, 9:28 p.m.