StopReporter {testthat}R Documentation

Test reporter: stop on error.

Description

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

Usage

StopReporter

Format

An object of class R6ClassGenerator of length 24.

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.


[Package testthat version 1.0.2 Index]