tests/testthat/reporters/fail.R

test_that("two failures", {
  expect_true(FALSE)
  expect_false(TRUE)
})

test_that("another failure", {
  expect_true(FALSE)
})

Try the testthat package in your browser

Any scripts or data that you put into this service are public.

testthat documentation built on April 4, 2025, 1:08 a.m.