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

Python and Rust tests in the same vscode don't play well together #71

Open
gilescope opened this issue Feb 18, 2020 · 2 comments
Open
Labels
question Further information is requested

Comments

@gilescope
Copy link

This could be very unfair to place this issue here, but I'm going to start here. Maybe it's a python issue, maybe it's an issue with the framework that's not handling things nicely and not the adapter. But I'm guessing that python and some other language does work ok based on usage stats and it's something we are doing that's annoying the others.

Sometimes we see multiple sets of tests, sometimes we see no rust tests. The tests also fail to start when clicked so it's really unhappy.

I'm not sure where we start with diagnosing this one but any tips will be greatly appreciated. It all works fine on a rust only project.

@calebcartwright
Copy link
Member

Thanks for the report @gilescope!

Are you able to share a link to the repo where you experienced this, and if not could you tell me a bit about the setup in the repo so I can attempt to reproduce?

I've used both the Rust and Python Test Explorer but can't say I've ever tried to use both together.

Python is also a bit unique in VS Code in that the main language extension provides its own Test Explorer pane that's not built on the Test Explorer UI.

It'd probably be helpful for debugging too if you can confirm if you've got Python and/or Python Test Adapter extensions installed and enabled as well as the Rust test explorer.

Lastly, this extension writes log info to the Rust Explorer Log Output in VS Code, can you share the contents of that output?

@calebcartwright calebcartwright added the question Further information is requested label Feb 19, 2020
@gilescope
Copy link
Author

Good to know - I will talk this through with the guy packaging the python side of things. I’ll try and see if I can get an open source repro.

Sent with GitHawk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants