Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is TestEnv.jl designed to be used with Test as extra in Project.toml or Test as deps in test/Project.toml? #88

Closed
martinmestre opened this issue Sep 3, 2024 · 1 comment

Comments

@martinmestre
Copy link

martinmestre commented Sep 3, 2024

Thanks!
Besides I would like to know how to add an extra dependency in Project.toml apart from
> Pkg.add("Test", target=:extras)
but using
] add Test ...

@oxinabox
Copy link
Member

oxinabox commented Sep 3, 2024

TestEnv.jl can't help you there.
The enviroment we create for testing is temporary.
Any changes made to it are lost.

It works with both Test/extras and test/Project.toml.
But it doesn't support making persistent changes to that enviroment.
Only using it.

I recommend asking on https://discourse.julialang.org/
how to do this.
I don't really know, myself I just edit Project.toml manually.

@oxinabox oxinabox closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants