forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugpartner asktriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Trying to use pytest in the test explorer with the following folder: dummy.zip
On the stable release of the extension, tests are not discovered at all. On the rewrite (which can be opted into by the setting "python.experiments.optInto": ["pythonTestAdapter"],) the tests are discovered correctly but running the tests does not work.
Error on run is: (no name '/Users/eleanorboyd/Downloads/dummy 2/tests/test_dummy.py::test_dummy_sum' in any of [<Module tests/test_dummy.py>])
Therefore the test ids are somehow being confused.
From the integrated terminal, the following work successfully:
pytest "/Users/eleanorboyd/Downloads/dummy 2/tests/test_dummy.py::test_dummy_sum" and pytest tests/test_dummy.py::test_dummy_sum .
Metadata
Metadata
Assignees
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugpartner asktriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
