You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a python project
Add a src and a tests directories in the root dir
Create some logic inside the src dir to make your app run
Add some tests to the tests folder.
To me, all that was needed was two test files, with simple tests:
test_1.py:
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.
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: