-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Description
My package uses:
utils::dump.frames(dumpto = "iracedump", to.file = TRUE, include.GlobalEnv = TRUE)when finding a non-recoverable error in non-interactive mode to help debugging. However, when running under testthat and loading the file in the debugger(), it only shows:
Message: Error: Test failures
Available environments had calls:
1: .GlobalEnv
2: test_check("irace")
3: test_dir("testthat", package = package, reporter = reporter, ..., load_pack
4: test_files(test_dir = path, test_paths = test_paths, test_package = package
5: test_files_serial(test_dir = test_dir, test_package = test_package, test_pa
6: test_files_check(reporters$list$get_results(), stop_on_failure = stop_on_fa
7: stop("Test failures", call. = FALSE)
8: (function ()
{
execDir <- getOption(".irace.execdir")
if (!is.null(ex
I wonder if there is anything that can be done to save the actual environments of the failed test.
Metadata
Metadata
Assignees
Labels
No labels