File: set_max_fails.Rd

package info (click to toggle)
r-cran-testthat 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,452 kB
  • sloc: cpp: 9,261; ansic: 37; sh: 14; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reporter-progress.R
\name{set_max_fails}
\alias{set_max_fails}
\title{Set maximum number of test failures allowed before aborting the run}
\usage{
set_max_fails(n)
}
\arguments{
\item{n}{Maximum number of failures allowed.}
}
\description{
This sets the \code{TESTTHAT_MAX_FAILS} env var which will affect both the
current R process and any processes launched from it.
}
\keyword{internal}