This returns an testthat expectation object.

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

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