shinytest (version 1.5.4)

expect_pass: Expectation: testApp() passes snapshot tests

Description

This returns an testthat expectation object.

Usage

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

Run this code
if (FALSE) {
expect_pass(testApp("path/to/app/"))
}

Run the code above in your browser using DataLab