tests/testthat/test-coverage_testing.R

test_that("assertions are sufficiently unit tested", {
  expect_true(check_all_assertions_are_tested_enough(min_required_tests = 5))
})

Try the assertions package in your browser

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

assertions documentation built on June 7, 2023, 6:03 p.m.