-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test result not found for: xxxxxx in ssh remote session and workspace folder #17343
Comments
This should be fixed in, please give that a try. https://github.com/microsoft/vscode-python/suites/3720107868/artifacts/90996691 |
I still get the same error after installing the extension you linked. |
When I hit the debug button of a test, the |
seems to be working now, thanks. |
Running tests seem to be working fine, but debugging tests don't work. If I hit |
@jzazo That is a new issue please file a separate bug. |
Thanks, I created the following bug report |
Environment data
python.languageServer
setting: PylanceExpected behaviour
I run pytest in my repo where each folder is configured as a workspace. I expect that the
Testing
tab reflects the outcome of the pytest results.Actual behaviour
I get error displayed
Test result not found for: ./test/python/example_test/test_example.py::test_example1
, even though the test was successful.Apparently vscode cannot find tests results from workspace folder. This was working fine before August 2021's vscode release.
Steps to reproduce:
I have a repo structure as follows:
The contents of
somerepo.code-workspace
are:The contents of
example1/.vscode/settings.json
are:The contents of
.envrc
are:The contents of
Pipfile
are:The contents of
Pipfile.lock
are generated by runningpipenv install --dev
.The contents of
example1/src/python/example/example.py
are:The contents of
example1/test/python/example_test/test_example.py
are:The text was updated successfully, but these errors were encountered: