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

View source: R/testthat.R

expect_passR Documentation

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

## Not run: 
expect_pass(testApp("path/to/app/"))

## End(Not run)

shinytest documentation built on May 29, 2024, 6:33 a.m.