blade_runr: Execute your test functions smoothly with control

View source: R/blade_runr.R

blade_runrR Documentation

Execute your test functions smoothly with control

Description

blade_runr() sets your tests in motion. After setting them up with blade_setup(), this function takes a grid of parameters generated by blade_params() and iterates over it, executing your functions for each individual test case.

Usage

blade_runr(grid, force = FALSE)

Arguments

grid

A grid of test parameters, ideally generated by blade_params().

Value

The value of the post_runr function, as specified in blade_setup()

Examples

blade_setup(
  run_name = "test_run",
  runr = function() 1,
)
params <- list(
  a = seq(1:3),
  b = 2
)
grid <- blade_params(params)
blade_runr(grid)

datr-studio/bladerunr documentation built on April 12, 2022, 6:19 p.m.