tests/testthat/test-teardown-2.R

test_that("teardown is completed by previous test", {
  expect_false(file.exists("teardown.txt"))
})
r-lib/testthat documentation built on April 24, 2019, 6:50 p.m.