Skip to content

Test Explorer fails to find results of tests marked with xdist_group #23619

@vludax

Description

@vludax

Type: Bug

Behaviour

Tests marked with xdist_group execute as expected in VS Code, just as they do via the CLI. However, VS Code fails to report their results.

This is the same issue as described here: #19374

Extension version: 2024.8.1
VS Code version: Code 1.90.0 (Universal) (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:34:44.157Z)
OS version: Darwin arm64 23.5.0
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.12.3
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Pylance
User Settings


languageServer: "Pylance"

testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true

experiments
• optInto: ["pythonTestAdapter"]

Installed Extensions
Extension Name Extension Id Version
autoDocstring - Python Docstring Generator njpwerner.autodocstring 0.6.1
Better Jinja samuelcolvin.jinjahtml 0.20.0
Code Spell Checker streetsidesoftware.code-spell-checker 3.0.1
EditorConfig for VS Code EditorConfig.EditorConfig 0.16.4
Even Better TOML tamasfe.even-better-toml 0.19.2
Git Graph mhutchie.git-graph 1.30.0
GitHub Copilot GitHub.copilot 1.202.0
GitHub Copilot Chat GitHub.copilot-chat 0.16.1
GitLens — Git supercharged eamodio.gitlens 15.1.0
JavaScript Debugger ms-vscode.js-debug 1.90.0
JavaScript Debugger Companion Extension ms-vscode.js-debug-companion 1.1.2
Jinja wholroyd.jinja 0.0.8
json ZainChen.json 2.0.2
Jupyter ms-toolsai.jupyter 2024.5.0
markdownlint DavidAnson.vscode-markdownlint 0.55.0
Pylance ms-python.vscode-pylance 2024.6.1
Python ms-python.python 2024.8.1
Python Debugger ms-python.debugpy 2024.6.0
Python Environment Manager donjayamanne.python-environment-manager 1.2.4
Python Indent KevinRose.vsc-python-indent 1.18.0
Ruff charliermarsh.ruff 2024.26.0
Terraform 4ops.terraform 0.2.5
YAML redhat.vscode-yaml 1.15.0
YAML ❤️ JSON hilleer.yaml-plus-json 1.12.2

Metadata

Metadata

Assignees

Labels

area-testinginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions