get activity-stream unit tests hooked into mc-wide code coverage
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
People
(Reporter: dmosedale, Assigned: Mardak)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
After we get the activity-stream repo unit-tests working in taskcluster/treeherder, it would be nice to get them hooked into the tree-wide code-coverage infrastructure.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
karma-coverage-istanbul-reporter, which is what we're already using, can output json stuff. There are at least two things we can do here (we may want to do both depending on how the tree-wide coverage infrastructure works):
- make the reporter emit json, and teach try-runner to turn the newtab tests red when coverage thresholds are violated
- tie directly into the tree-wide code coverage infrastructure (which may surface the coverage info in Phab, I'm not sure)
Reporter | ||
Comment 2•5 years ago
|
||
Something landed in m-c today that busted our code coverage by dropping it below the level we have listed. This will presumably happen again from time-to-time until we get m-c code-coverage implemented. Dropping priority on this bug so that we will re-triage it..
Comment 3•5 years ago
|
||
Will fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1581165#c0 help with code coverage issue reported in previous comment.
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D60414
Reporter | ||
Comment 5•5 years ago
|
||
(In reply to Punam Dahiya [:pdahiya] from comment #3)
Will fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1581165#c0 help with code coverage issue reported in previous comment.
No; we need still need to use the patch that interprets the code-coverage output. I'll be reviewing Ed's patch attached to this bug soon.
Comment 7•5 years ago
|
||
bugherder |
Description
•