shinytest (version 1.3.1)

expect_pass: Expectation: shinytest object passed 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
# NOT RUN {
expect_pass(testApp("path/to/app/"))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab