-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cannot run tests on package with unregistered dependencies #47
Comments
So I guess Pkg is trying to resolve the environment from Project.toml even though Manifest.toml is also present, and therefore failing to find the unregistered package RemoteTestPkg. So I'm not sure if this is specifically an issue with TestItemRunner. Nonetheless I will leave this issue open for now in case there's a way of making this workflow work. |
Can you try the insider build of the VS Code extension? I think this might be fixed in the pre-release build. |
I'm already on the pre-release (v1.45.1) version if that's what you mean. |
Hi, I've run into this problem again. Just wondering if there's any known workaround? |
Hi, thanks a lot for this great package. Often during development I will have a package which depends on some other unregistered package, typically hosted on GitHub, but sometimes also dev'd to a local version.
As a MWE I created the following two repositories, where TestPkg.jl depends on RemoteTestPkg.jl:
https://github.com/white-alistair/TestPkg.jl
https://github.com/white-alistair/RemoteTestPkg.jl
When I run the tests for TestPkg.jl at the REPL using
] test
, they pass as expected. However, when I try to run them using TestItemRunner (e.g. by clicking the play icon in the VS Code "Testing" tab), I get the following stack trace:The text was updated successfully, but these errors were encountered: