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))
})
jimhester/covr documentation built on April 8, 2024, 1:48 p.m.