View source: R/snapshot-manage.R
snapshot_accept | R Documentation |
snapshot_accept()
accepts all modified snapshots.
snapshot_review()
opens a Shiny app that shows a visual diff of each
modified snapshot. This is particularly useful for whole file snapshots
created by expect_snapshot_file()
.
snapshot_accept(files = NULL, path = "tests/testthat")
snapshot_review(files = NULL, path = "tests/testthat")
files |
Optionally, filter effects to snapshots from specified files.
This can be a snapshot name (e.g. |
path |
Path to tests. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.