Learn R Programming

testthat (version 3.3.0)

local_snapshotter: Instantiate local snapshotting context

Description

Needed if you want to run snapshot tests outside of the usual testthat framework For expert use only.

Usage

local_snapshotter(
  reporter = SnapshotReporter,
  snap_dir = "_snaps",
  cleanup = FALSE,
  desc = NULL,
  fail_on_new = NULL,
  frame = caller_env()
)

Arguments