Tests not found after upgrade #5417
Labels
area-testing
feature-request
Request for new features or functionality
verified
Verification succeeded
Milestone
The latest release of vscode seems to have broken my unit tests. Although there seems to be a built in assumption that there's only 1 test folder per project which isn't the case for this project, I got the following to at least work with the previous version (I have multiple packages, each package has it's own test folder) although I had to edit it manually to switch from one test folder to another
Now though, after upgrading to 1.33.0 I get a prompt asking me to configure the test framework, this now also seems to assume not only 1 test folder per project, it also seems to expect this to be off the root? Ideally vscode wouldn't make these sort of assumptions. I edited
settings.json
but in any case I now gettests not found
It's not clear to me how this interacts with
python.unitTest.cwd
- does test discovery first cwd, it doesn't appear to? I've tried other combinations, i.e.There's a number of errors in the output which appear pyenv related which I've copied at the bottom.
Output from
Console
under theDeveloper Tools
:The text was updated successfully, but these errors were encountered: