local_snapshotter {testthat}R 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 = "_snaps", cleanup = FALSE, .env = parent.frame())

[Package testthat version 3.0.2 Index]