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 Jan. 21, 2022, 1:10 a.m.