registerInputProcessor: Register an input processor for the test recorder

Description Usage Arguments

View source: R/recorder.R

Description

registerInputProcessor() registers an input processor which will be used by the test recorder. The input processor function should take one parameter, value, and return a string of R code which returns the desired value.

getInputProcessors() returns a named list of all registered input processor functions.

Usage

1
2
3

Arguments

inputType

The name of an input type, for example, "mypkg.numberinput".

processor

An input processor function.


shinytest documentation built on Sept. 14, 2021, 1:07 a.m.