Support sandboxed environment selection for testing frameworks (pytest, uinttest) #24119
Labels
area-testing
community ask
Feature request that the community expressed interest in
feature-request
Request for new features or functionality
info-needed
Issue requires more information from poster
needs PR
Ready to be worked on
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:
The text was updated successfully, but these errors were encountered: