Closed Bug 1567927 (ujmc-test-code-coverage) Opened 5 years ago Closed 5 years ago

get activity-stream unit tests hooked into mc-wide code coverage

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
Firefox 74
Iteration:
74.2 - Jan 20 - Feb 09
Tracking Status
firefox70 --- wontfix
firefox72 --- wontfix
firefox73 --- wontfix
firefox74 --- fixed

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.

Priority: -- → P2

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)

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..

Priority: P2 → --

Will fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1581165#c0 help with code coverage issue reported in previous comment.

Assignee: nobody → edilee
Iteration: --- → 74.2 - Jan 20 - Feb 09
Priority: -- → P1

(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.

Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0dbea7129a30 Report karma code coverage failures with existing istanbul thresholds r=dmose
Blocks: 1612986
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: