@@ -26,6 +26,7 @@ test_that("good error if bad option", {
26
26
})
27
27
28
28
test_that(" ok" , {
29
+ skip_on_covr()
29
30
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
30
31
# we cannot run these with the silent reporter, because it is not
31
32
# parallel compatible, and they'll not run in parallel
@@ -43,6 +44,7 @@ test_that("ok", {
43
44
})
44
45
45
46
test_that(" fail" , {
47
+ skip_on_covr()
46
48
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
47
49
# we cannot run these with the silent reporter, because it is not
48
50
# parallel compatible, and they'll not run in parallel
@@ -59,6 +61,7 @@ test_that("fail", {
59
61
})
60
62
61
63
test_that(" snapshots" , {
64
+ skip_on_covr()
62
65
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
63
66
tmp <- withr :: local_tempdir(" testthat-snap-" )
64
67
file.copy(test_path(" test-parallel" , " snap" ), tmp , recursive = TRUE )
@@ -81,6 +84,7 @@ test_that("snapshots", {
81
84
})
82
85
83
86
test_that(" new snapshots are added" , {
87
+ skip_on_covr()
84
88
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" , CI = " false" ))
85
89
tmp <- withr :: local_tempdir(" testthat-snap-" )
86
90
file.copy(test_path(" test-parallel" , " snap" ), tmp , recursive = TRUE )
@@ -105,6 +109,7 @@ test_that("new snapshots are added", {
105
109
})
106
110
107
111
test_that(" snapshots are removed if test file has no snapshots" , {
112
+ skip_on_covr()
108
113
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
109
114
tmp <- withr :: local_tempdir(" testthat-snap-" )
110
115
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", {
132
137
})
133
138
134
139
test_that(" snapshots are removed if test file is removed" , {
140
+ skip_on_covr()
135
141
withr :: local_envvar(c(TESTTHAT_PARALLEL = " TRUE" ))
136
142
withr :: defer(unlink(tmp , recursive = TRUE ))
137
143
dir.create(tmp <- tempfile(" testthat-snap-" ))
0 commit comments