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 Oct. 6, 2023, 5:10 p.m.