Skip to content

Show Run/Debug code lenses on doctests #6313

Closed
@yozlet

Description

@yozlet

Environment data

  • VS Code version: 1.35
  • Extension version (available under the Extensions sidebar): 2019.7.21619-dev
  • OS and version: MacOS 10.14.5
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.8
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv + pipenv
  • Relevant/affected Python packages and their versions: pytest 4.4.1
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): LS

NOTE: This is not the same bug as #6303 - I get code lenses on dedicated test files, but not on doctests, even though those doctests are showing up in the Test Explorer (collected by the new pytest adapter).

I can't remember if vscode-python has ever displayed Run/Debug code lenses for doctests, so this may be a feature request rather than a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bugfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions