Skip to content

exception-branch coverage view #2012

@spaceone

Description

@spaceone

It would be very nice, if coveragepy would support another view, which shows every line where an exception was (not) raised.

There are often lines, where a test case want to test the error handling and expects a exception to be raised which is not catched. This would help to verify that the line did raise an exception.

Similar to branch coverage, which is displayed in yellow, exception coverage could be printed in blue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions