-
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 Tree was not builded #23868
Comments
Hello! I am seeing the error occurring on this line: |
Hello! Everything worked as it should until today. Apparently I changed something in my repository that broke your code.
Output for
Tell me, please, is there any way to debug the extension so that I understand at what point and why it breaks? |
Are you able to send me your repo or a minimal repro of your problem so I can try it on my own machine? If not here are some more steps to try: the output from that command is confusing- it should run all your tests but maybe the args are wrong. Can you try it without the path? I had just taken that from your logs but it might be wrong in this context. Secondly can you try without the two pluggins I see listed: allure-pytest-2.13.2, anyio-4.3.0. Thanks |
I honestly tried to make a minimal repository repeating the error. But everything in it is so connected to each other that an unnecessary deletion of the file breaks the collection of tests. Would it be okay for you to connect remotely to my PC? |
Hello, @eleanorjboyd! I made minor changes to the extension and added debug prints: |
Thank you for the debugging this is great!! Very interesting with not having the |
Yes, my test case in test.py
This file is not used by pytest as far as I know. I need it to run my tests on virtual machines. |
I had a similar issue with Python 3.12, Python Extension v2024.10.0 and VSCode 1.91.1. I had to downgrade Python extension to v2024.0.0 (chose a lower version after some failure) make it work. Here is a more detailed error in the Python output: |
Hello @eleanorjboyd! Is there any information on this issue? |
Type: Bug
Behaviour
Tests Explorer was not show tests
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.11.2024072501
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.19045
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: