snapshot_accept {testthat}R Documentation

Snapshot management

Description

Usage

snapshot_accept(files = NULL, path = "tests/testthat")

snapshot_review(files = NULL, path = "tests/testthat")

Arguments

files

Optionally, filter affects to snapshots from specified test files. Can be full path to test (tests/testthat/test-foo.R), file name (test-foo.R), or test name (foo).

path

Path to tests.


[Package testthat version 3.1.0 Index]