@@ -26,6 +26,7 @@ test_that("good error if bad option", {
2626})
2727
2828test_that(" ok" , {
29+ skip_on_covr()
2930 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
3031 # we cannot run these with the silent reporter, because it is not
3132 # parallel compatible, and they'll not run in parallel
@@ -43,6 +44,7 @@ test_that("ok", {
4344})
4445
4546test_that(" fail" , {
47+ skip_on_covr()
4648 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
4749 # we cannot run these with the silent reporter, because it is not
4850 # parallel compatible, and they'll not run in parallel
@@ -59,6 +61,7 @@ test_that("fail", {
5961})
6062
6163test_that(" snapshots" , {
64+ skip_on_covr()
6265 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
6366 tmp <- withr :: local_tempdir(" testthat-snap-" )
6467 file.copy(test_path(" test-parallel" , " snap" ), tmp , recursive = TRUE )
@@ -81,6 +84,7 @@ test_that("snapshots", {
8184})
8285
8386test_that(" new snapshots are added" , {
87+ skip_on_covr()
8488 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" , CI = " false" ))
8589 tmp <- withr :: local_tempdir(" testthat-snap-" )
8690 file.copy(test_path(" test-parallel" , " snap" ), tmp , recursive = TRUE )
@@ -105,6 +109,7 @@ test_that("new snapshots are added", {
105109})
106110
107111test_that(" snapshots are removed if test file has no snapshots" , {
112+ skip_on_covr()
108113 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
109114 tmp <- withr :: local_tempdir(" testthat-snap-" )
110115 file.copy(test_path(" test-parallel" , " snap" ), tmp , recursive = TRUE )
@@ -132,6 +137,7 @@ test_that("snapshots are removed if test file has no snapshots", {
132137})
133138
134139test_that(" snapshots are removed if test file is removed" , {
140+ skip_on_covr()
135141 withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
136142 withr :: defer(unlink(tmp , recursive = TRUE ))
137143 dir.create(tmp <- tempfile(" testthat-snap-" ))
0 commit comments