Skip to content

Support for native coverage data reporting #1937

@rsouthgate

Description

@rsouthgate

Problem

When running tests against my code that is running on hermes I have to instrument the code first with istanbul and then gather coverage data from that. This means I am forced to build both instrumented and non-instrumented artifacts which takes time and costs money.

Solution

There seems to be partial support for Profiler (compatible with v8 Profiling) for some sampling, but it would be great if Hermes could support code coverage via Profiler.takePreciseCoverage. Is this on any roadmap anywhere by any chance? If I could use this then I would be able to test my real uninstrumented deployable artifact saving me significant time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions