Using the minimal reporter, failing tests display an "E", and tests that throw an error display and "F". This seems to be the wrong way around to me, but I don't know if it's a genuine mistake or if I'm misunderstanding the output.
To reproduce, save this to a file:
test_that(
"one is greater than zero",
{
expect_true(1 > 0)
}
)
test_that(
"one is less than zero",
{
expect_true(1 < 0)
}
)
test_that(
"this code runs",
{
stop("Oh no! An error!")
}
)
Then run
test_file("test-file.R", reporter = "minimal")
I see the output .EF.