default environment for source_test_helpers() #415
Closed
Comments
The point was to make it consistent with the other |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default environment for
source_test_helpers()
changed from the global environment to the test environment. This is noticeable when I step through test files interactively. Unless I dosource_test_helpers(..., env = globalenv())
, nothing I define in my helper files is actually available.I liked the old way better, but maybe there are good reasons for the change? In which case, this would be good to put into
NEWS.md
.The text was updated successfully, but these errors were encountered: