local_snapshotter: Instantiate local snapshotting context

View source: R/snapshot-reporter.R

local_snapshotterR Documentation

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(
  snap_dir = NULL,
  cleanup = FALSE,
  fail_on_new = FALSE,
  .env = parent.frame()
)

testthat documentation built on Oct. 6, 2023, 5:10 p.m.