Skip to content

feat: Allow to exclude files from coverage report #56

@gilfthde

Description

@gilfthde

Feature request: Allow to exclude files from coverage report

Currently, the tool excludes files ending in _test.go from the report. It would be nice to be able to exclude other files by pattern as well.

Use case: We define mocks for unit tests in files with a _mocks.go suffix and they belong to the test code base.

I could invest some time to provide a PR if you think this would be a useful contribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions