We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Type: Bug
Test Explorer is not reporting test status (red/green/skipped icons) when executed test is annotated with @pytest.mark.xdist_group("<group_name>")
@pytest.mark.xdist_group("<group_name>")
import pytest @pytest.mark.xdist_group("my_name") def test_result_on_test_explorer_tab_with_xdist_group(): assert True
-n1 --dist=loadgroup
Python
Output
View
2025-03-28 09:34:36.028 [info] Attempting to use temp directory for test ids file, file name: test-ids-2d4841d5f435a572ada2.txt 2025-03-28 09:34:36.029 [info] All environment variables set for pytest execution, PYTHONPATH: "/Users/radek/.vscode/extensions/ms-python.python-2025.2.0-darwin-arm64/python_files" 2025-03-28 09:34:36.029 [info] Running pytest with arguments: /Users/radek/.vscode/extensions/ms-python.python-2025.2.0-darwin-arm64/python_files/vscode_pytest/run_pytest_script.py --log-cli-level=INFO -m debug -n1 --dist=loadgroup --rootdir=/redacted/e2e-tests for workspace /redacted 2025-03-28 09:34:36.029 [info] > ./venv/bin/python ~/.vscode/extensions/ms-python.python-2025.2.0-darwin-arm64/python_files/vscode_pytest/run_pytest_script.py --log-cli-level=INFO -n1 --dist=loadgroup --rootdir=./e2e-tests 2025-03-28 09:34:36.029 [info] cwd: ./e2e-tests 2025-03-28 09:34:37.716 [info] Test Result named pipe /var/folders/fj/q1_v_36x4rdcxyh92ddsq4y00000gn/T/python-test-results-680c92b04e19cdaa6f9c cancelled
Extension version: 2025.2.0 VS Code version: Code 1.98.2 (Universal) (ddc367ed5c8936efe395cffeec279b04ffd7db78, 2025-03-12T13:32:45.399Z) OS version: Darwin arm64 24.3.0 Modes:
python.languageServer
languageServer: "Pylance" testing • cwd: "<placeholder>" • pytestArgs: "<placeholder>" • pytestEnabled: true
The text was updated successfully, but these errors were encountered:
will investigate- thanks
Sorry, something went wrong.
eleanorjboyd
No branches or pull requests
Type: Bug
Behaviour
Test Explorer is not reporting test status (red/green/skipped icons) when executed test is annotated with
@pytest.mark.xdist_group("<group_name>")
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: 2025.2.0
VS Code version: Code 1.98.2 (Universal) (ddc367ed5c8936efe395cffeec279b04ffd7db78, 2025-03-12T13:32:45.399Z)
OS version: Darwin arm64 24.3.0
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
The text was updated successfully, but these errors were encountered: