scoringutils icon indicating copy to clipboard operation
scoringutils copied to clipboard

Testing fails locally when done repeatedly

Open sbfnk opened this issue 11 months ago • 2 comments

Result of repeated devtools::test()

`assert_input_interval(observed, lower, upper, 0.5)` did not throw the expected warning.

because the warning is only shown once by design.

sbfnk avatar Mar 20 '24 08:03 sbfnk

Hm it does work when using the Rstudio test button, but I'm not entirely sure what that calls internally. What would you suggest we do about this?

nikosbosse avatar Mar 20 '24 09:03 nikosbosse

its becauase interactive testing isn't in a new process. I'd suggest skipping this test locally so it only runs on CI

seabbs avatar Mar 20 '24 10:03 seabbs