Open timonviola opened 2 months ago
➕ but I just want "python.testing.pytestPath"
to work. I have custom pytest wrapper module that setups up paths so it's super frustrating that vscode has this setting but then ignores it
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
The feature request is to explicitly declare, which virtual environment should be used for tests.
I have sandboxed environments:
During development I want to set:
However, in that case, tests cannot be discovered:
As soon as I activate the
test
venv, discovery works.Note that setting:
seems to have no effect.
My
.venv
looks like this:I am using hatch, but this can easily be replicated with poetry or other: