Skip to content

pytest adapter fails if no tests found #5327

Description

pytest uses an exit code of 5 to indicate that no tests were found during discovery. However, the adapter treats a non-zero exit code as a failure. Instead, an exit code of 5 should result in an empty set of tests.

Metadata

Metadata

Labels

area-testingbugIssue identified by VS Code Team member as probable bugregressionBug didn't exist in a previous release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions