Skip to content

default environment for source_test_helpers() #415

Description

@jennybc

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 do source_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions