-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Environment variables when running tests #4450
Comments
Implemented in #4448 via a test specific launch.json configuration. |
As far as I understand there is no way to set environment variables for all tests? |
Not at the moment. I'll open relevant PR this week. |
Oh wow, thank you! |
Either would be fine with me. |
Let's re-open than, we need a member to do that: @matklad? |
Rust Analyzer makes it really easy to run tests as you're authoring them in the editor - just using the "run test" action above the test name.
However, it would be really useful to be able to specify some environment variables when doing this - in particular, the RUST_LOG environment variable would allow for me to see logging output direct in VSCode when running these tests, whereas right now I need to go and run them in a terminal manually.
Cheers
The text was updated successfully, but these errors were encountered: