forcedotcom / LightningTestingService

Apache License 2.0
122 stars 35 forks source link

Capture __coverage__ information for extraction #81

Closed aheber closed 5 years ago

aheber commented 6 years ago

If JS has been instrumented by Istanbul it logs its coverage information into the window.__coverage__ variable. To pull coverage information down to the client it must be stored in a div, exactly the same as the test runner.

Might still have some issues related to crossing LockerService boundaries but will cover most use cases.

(newline added by GitHub editor but decided to leave the change, feel free to reject and I can adjust)

salesforce-cla[bot] commented 6 years ago

Thanks for the contribution! Before we can merge this, we need @aheber to sign the Salesforce.com Contributor License Agreement.

aheber commented 6 years ago

@esalman-sfdc could you provide some feedback on this PR? Thanks.

KrisGraySFDC commented 5 years ago

@aheber I'm really sorry this got ignored. The product transferred ownership and the emails weren't going to anyone.

I'm taking a look.