ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
22 stars 9 forks source link

Coverage issue #49

Closed ArnaudBuchholz closed 1 year ago

ArnaudBuchholz commented 1 year ago

Several situations leads to an invalid coverage measurement :

ArnaudBuchholz commented 1 year ago

The problem comes from IFrame usage in OPA tests when istanbul generation is not corrected as in the inner web server. Used a script to define window.__coverage__ as a property accessing the parent window for any IFrame.