tests/testthat/test_case_no_evaluable_code.R

test_that("Packages with no evaluable code produce empty traceability matrix without error (#20)", {
  expect_warning(no_evaluable_code_ttdf <- test_trace_df(no.evaluable.code_cov))
  expect_true(sum(!no_evaluable_code_ttdf$is_reexported) == 0L)
})

Try the covtracer package in your browser

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

covtracer documentation built on Sept. 12, 2024, 7:40 a.m.