Skip to content

Add API method to merge CoverageData object into "currently running" Coverage #604

Open
@nedbat

Description

@nedbat

Originally reported by David MacIver (Bitbucket: david_maciver_, GitHub: Unknown)


As part of Hypothesis's new coverage guided test generation, I am running my own Collector instances (See related issue). I use these to produce CoverageData objects I can read the data off.

In order to get coverage to accurately report the areas that were under my control as covered, I want to then be able to merge these CoverageData objects back into the running Coverage. I'm currently doing that with a truly awful hack, but it would be nice to have something official to do this with.


Metadata

Metadata

Assignees

No one assigned

    Labels

    apiChanges to the public APIenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions