Closed Bug 1301984 Opened 3 years ago Closed 3 years ago
Enable collection of mochitest-plain code coverage with the JS Debuger
59 bytes, text/x-review-board-request
This will be similar to how browser-chrome uses the "--jscov-dir-prefix" flag. It will have to be implemented for mochitest-plain though. I believe the file that deals with mochitest-plain tests is https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/TestRunner.js but :chmanchester would be the person to ask about this. If it is, then the task will be to have a JS Debugger code coverage collector enabled while tests are running.
Here's a test run with mochitest-plain enabled: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f01dd5b67bf0eaa35f97da3a25a229530b505179 .
Comment on attachment 8840002 [details] Bug 1301984 - Add code coverage to mochitest-plain tests. https://reviewboard.mozilla.org/r/114560/#review116004 looking great.
Attachment #8840002 - Flags: review?(jmaher) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/1dcde4d265a4 Add code coverage to mochitest-plain tests. r=jmaher
Duplicate of this bug: 1301985
You need to log in before you can comment on or make changes to this bug.