That seems sketchy. I’m not sure what behavior Julia guarantees if you load a package in one environment and then switch to another environment. What you might want to do instead (in the root folder of the project, and assuming a test/Project.toml
file):
] activate test
] dev .
include("test/runtests.jl")