Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use deep cloning of reporters in auto_test() and auto_test_package() #456
Also uses withr::with_envvar() instead of devtools::with_envvar() to avoid warning.
Testing auto_test() and auto_test_package() is tricky, but not impossible. An external R script that runs for a certain time can be started using a pattern like this:
The output of that script could be then analyzed by the test.