inst/example_tests/crashing_tests/test_with_crash.R

library(tinytest)

expect_true(TRUE, info = "passing tests")

a <- function() stop("bla")
b <- function() a()
d <- function() b()

d()

Try the tinytest2JUnit package in your browser

Any scripts or data that you put into this service are public.

tinytest2JUnit documentation built on June 22, 2024, 9:18 a.m.