set_max_fails: Set maximum number of test failures allowed before aborting...

View source: R/reporter-progress.R

set_max_failsR Documentation

Set maximum number of test failures allowed before aborting the run

Description

This sets the TESTTHAT_MAX_FAILS env var which will affect both the current R process and any processes launched from it.

Usage

set_max_fails(n)

Arguments

n

Maximum number of failures allowed.


hadley/testthat documentation built on Feb. 16, 2024, 9:20 p.m.