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.


r-lib/testthat documentation built on Feb. 18, 2024, 8:59 p.m.