Make Python test suite fail if no tests ran
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Closed
Description
opened
When the Python test suite is run with a typo in a test filename or a test method, it displays "NO TEST RUN" but the exit code is a success (exit code 0) and so the mistake can be easily missed. I propose to make the test suite fail with a non-zero exit code to highlight that something unusual happened.
Metadata
Metadata
Assignees
No one assigned
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests