I am pretty sure that this:
test_that("", {
Parameters <- c(1, 2, 3, 4, 5)
test_map <- function(Parameter){
expect_equal(Parameter,
2)
}
map(Parameters, test_map)
})
resulted in 4 failed and 1 passed test in the past. However it seems like since recently this doesnt work anymore and exits immediatly at the first failed test. Is there a way around this? Possibly connected to the new reporters?
You can use
Map()instead ofpurrr::map():Created on 2023-04-24 with reprex v2.0.2