Skip to content

How to check whether we are already in an testenv? #51

Open
@schlichtanders

Description

@schlichtanders

The test_env path is very cryptic. It would be great, if it could include testenv or some other explicit name, which makes it easy to check, whether we have already loaded the test environment.

Usecase: Get idempotent execution

import TestEnv
if "testenv"  Base.active_project()
  TestEnv.activate()
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions