expect_pass: Expectation: 'testApp()' passes snapshot tests

Description Usage Arguments Examples

View source: R/testthat.R

Description

This returns an testthat expectation object.

Usage

1
expect_pass(object, info = NULL)

Arguments

object

The results returned by testApp().

info

Extra information to be included in the message (useful when writing tests in loops).

Examples

1
2
3
4
## Not run: 
expect_pass(testApp("path/to/app/"))

## End(Not run)

shinytest documentation built on Sept. 14, 2021, 1:07 a.m.