ArnaudBuchholz / ui5-test-runner

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

Document how to extract code coverage with url mode #56

Closed ArnaudBuchholz closed 9 months ago

ArnaudBuchholz commented 10 months ago

Ideas :

ArnaudBuchholz commented 10 months ago

Based on https://ui5.sap.com/resources/sap/ui/qunit/qunit-coverage-istanbul-dbg.js, ui5-test-runner can inject a script that : 1) detects the middleware (http://localhost:8080/.ui5/coverage/ping) 2) updates the source URLs to add ?instrument=true

ArnaudBuchholz commented 9 months ago

I am able to extract coverage but the report is not generated

ArnaudBuchholz commented 9 months ago

fixed and documented