Learn R Programming

testthat (version 0.9.1)

StopReporter-class: Test reporter: stop on error.

Description

The default reporter, executed when expect_that is run interactively, or when the test files are executed by R CMD check. It responds by stop()ing on failures and doing nothing otherwise. This will ensure that a failing test will raise an error.

Arguments

...
Arguments used to initialise class

Details

This should be used when doing a quick and dirty test, or during the final automated testing of R CMD check. Otherwise, use a reporter that runs all tests and gives you more context about the problem.