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)
})
Genentech/covtracer documentation built on Feb. 18, 2025, 10:34 a.m.