Skip to content

Nose and Unittest tests display full path on every node in test explorer #16368

@bobwalker99

Description

@bobwalker99

Environment data

  • VS Code version: 1.56.2
  • Extension version (available under the Extensions sidebar): v2021.5.842923320
  • OS and version: Ubuntu 18.04
  • Python version (& distribution if applicable, e.g. Anaconda): Python 2.7 && 3.6.9
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Relevant/affected Python packages and their versions: nose, unittest
  • Relevant/affected Python-related VS Code extensions and their versions: None
  • Value of the python.languageServer setting: PyLance

Expected behaviour

Test Explorer Tree just displays file and folder names on each node

Actual behaviour

Test explorer displays long paths containing full path information for every node

Steps to reproduce:

  1. Load this repo into VS Code: https://github.com/bobwalker99/nose_sample
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions