Skip to content
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 Explorer contains an unrelated/unnecessary node at the top of the hierarchy. #4579

Closed
d3r3kk opened this issue Feb 27, 2019 · 1 comment
Assignees
Labels
area-testing bug Issue identified by VS Code Team member as probable bug

Comments

@d3r3kk
Copy link

d3r3kk commented Feb 27, 2019

Environment data

  • VS Code version: 1.31.1
  • Extension version (available under the Extensions sidebar): 2019.2.5433
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Relevant/affected Python packages and their versions: pytest

Expected behaviour

All nodes displayed in the Test Explorer hierarchy are nodes that pertain to a specific folder, file, test suite, or test function.

Actual behaviour

A node that has no relevance to the user's workspace test contents appears at the top of the tests hierarchy in the Test Explorer:

image

Steps to reproduce:

  1. Clone, open, and configure Python/pytest, the Pytest repo in VS Code with the Python extension installed.
    • Once the VS Code editor and the Python extension load, the Test Explorer beaker icon should appear in the activity bar.
  2. Run all tests.
  3. Inspect the test results in the Test Explorer tree.
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Feb 27, 2019
@d3r3kk d3r3kk added bug Issue identified by VS Code Team member as probable bug needs PR area-testing labels Feb 27, 2019
@ghost ghost removed triage-needed Needs assignment to the proper sub-team labels Feb 27, 2019
@DonJayamanne
Copy link

New code written in #4033 should solve this issue.
@ericsnowcurrently @d3r3kk /cc

@ericsnowcurrently ericsnowcurrently removed their assignment Mar 13, 2019
@ghost ghost removed the needs PR label Mar 18, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants