Package extention for Test allways loads

Hi all :slight_smile:

I want to use some default during testing and put them in my packages in the ext foulder.

In the Project.toml I put:

Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

TestExt = "Test"

Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test = ["Test"]

I have the problem that the extention files are always loaded even though I never wrote using Test. How would I fix that!

This should be fixed by Extensions: make loading of extensions independent of what packages are in the sysimage by KristofferC ยท Pull Request #52841 ยท JuliaLang/julia ยท GitHub.

The issue here is that Test is in the sysimage so in some sense it is always loaded.