Skip to content

Should unit-test coverage be checked for DBT sources? #94

@pvij-clear

Description

@pvij-clear

Running dbt-coverage compute unit-test returns unit test coverage for DBT sources as well.

The line

catalog_nodes = {**catalog_json["sources"], **catalog_json["nodes"]}
is fetching both sources and nodes, even when the coverage type is unit test.

Are we supposed to check unit-test coverage for DBT sources as well? If not, should we exclude sources if the coverage type is unit-test?

Thank you for creating this amazing project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions