Skip to content

Expose functionality to process existing coverage files without running tests. #66

@jakobjpeters

Description

@jakobjpeters

I use TestReports.jl to run my tests, which generate the coverage files. I still want to be able to use features in this package though. I'm using this:

using LocalCoverage: generate_xml, process_coverage, report_coverage_and_exit

const package_coverage = process_coverage(; folder_list = [joinpath(dirname(@__DIR__), "src")])

generate_xml(package_coverage, joinpath(dirname(@__DIR__), "coverage.xml"))
report_coverage_and_exit(package_coverage)

However, process_coverage isn't exported. It would be great to access this, and potentially other, functionality without depending on internals.

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