Skip to content

Improve feedback when user tries a pytest test when pytest is not installed, but is selected as the testing library #17772

@xiaoxi-david

Description

@xiaoxi-david

The current feedback "Error discovering pytest tests: See Output > Python)" in the testing tab is not very beginner-friendly.

Indeed, after reading that feedback, my first though was that I made a mistake writing the pytest test and not that I haven't installed pytest.

I wish I could get a similar warning as I get when black is not installed, but is selected as the default formatter.

Metadata

Metadata

Assignees

Labels

area-testingcommunity askFeature request that the community expressed interest infeature-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