tests/testthat/test-azure.R

test_that("azure_pipelines calls package_coverage and to_cobertura", {

  tf <- tempfile()
  on.exit(unlink(tf))

  azure(test_path("TestS4"), filename = tf)

  expect_true(file.exists(tf))
})

Try the covr package in your browser

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

covr documentation built on Nov. 9, 2023, 9:07 a.m.