-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Tests are discovered but not ran #24913
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
Comments
will investigate thanks |
One thing I forgot to mention and that might help figuring this out, is that when you try to run individual tests, or even individual classes, it works fine. |
Seeing an similar issue as well VSCode version In addition I've tried multiple versions of the extension, and this issue seems to still be present on all of them. Could this be a problem with the |
One weird thing is that I have a bunch of projects configured in the same way, and some of them work as they should, and some don't. What can I do to debug it further? Any ideas? |
things that would be helpful for me to try and understand and debug your issue
|
Sorry for the long time! I've set the log level to trace and ran everything again. Attached you'll find a screen recording (with the output from python opened), a log from a correct run (where I run just a part of the tests and it works), and a log with the failing try to run the tests! |
Any news on this? :) |
Type: Bug
Behaviour
When you have a few tests, and you'd like to run them all at once (e.g. by clicking the "Run tests" button, it should run all of the tests, but instead it raises an error and no test is ran.
Steps to reproduce:
test_1.py:
test_2.py:
settings.json:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2025.2.0
VS Code version: Code 1.98.1 (2fc07b811f760549dab9be9d2bedd06c51dfcb9a, 2025-03-10T15:38:08.854Z)
OS version: Linux x64 6.8.0-55-generic
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: