forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
I'm currently working in a python monorepo setup where we have multiple libraries and projects. They each have their own tests folders.
The problem I'm facing is that the test discovery of VSCode fails due to an ImportPathMismatchError error as pytest does not allow for multiple tests/conftest.py path to be used.
The cleanest solution I found so far is to rename the tests folders to NAME_tests to avoid the duplication but it does feel weird and hacky.
Fixing this would help further making VSCode a tool that works well in a monorepo setup.
Cediddi, tpajenkamp-dspace, Filipoliko, Xemnas0, Florian-BACHO and 3 more
Metadata
Metadata
Assignees
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team