You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
covr stops on a fail in a test. is there a way to get the coverage of non failing tests?
for example if i have this in the tests, testthat will complete the calls to all the tests and show me which ones were skipped/failed/... , but covr::test_package() will force stop on the fail.
testthat::test_that('bad test',{
expect_true(2+2!=4)
})
testthat::test_that('skip test',{
x <- 2+2
})
from the examples in exclusions it looks like only R/* files are being affected.
The text was updated successfully, but these errors were encountered:
This is working as intended, I would recommend you fix the failing tests or comment them out before trying to use coverage. Coverage isn't very useful if the code is wrong :)
covr stops on a fail in a test. is there a way to get the coverage of non failing tests?
for example if i have this in the tests, testthat will complete the calls to all the tests and show me which ones were skipped/failed/... , but
covr::test_package()
will force stop on the fail.from the examples in
exclusions
it looks like onlyR/*
files are being affected.The text was updated successfully, but these errors were encountered: