Closed
Bug 1301984
Opened 8 years ago
Closed 7 years ago
Enable collection of mochitest-plain code coverage with the JS Debuger.
Categories
(Testing :: Code Coverage, defect)
Testing
Code Coverage
Tracking
(firefox54 fixed)
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: sparky, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
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.
Comment hidden (mozreview-request) |
Reporter | ||
Comment 2•7 years ago
|
||
Here's a test run with mochitest-plain enabled: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f01dd5b67bf0eaa35f97da3a25a229530b505179 .
Comment 3•7 years ago
|
||
mozreview-review |
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 jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1dcde4d265a4 Add code coverage to mochitest-plain tests. r=jmaher
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1dcde4d265a4
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•