Open Bug 1343047 Opened 7 years ago Updated 2 months ago

Add a mach command to generate a HTML view of the code coverage (and open it in the browser)

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(firefox54 affected)

Tracking Status
firefox54 --- affected

People

(Reporter: marco, Unassigned)

Details

Attachments

(1 obsolete file)

It would be nice to have a mach command that, once some tests are run, generates a view of the code coverage results.

So you could do something like:
> mach test path/to/my/test
> mach codecov path/to/my/test

And see if the code you added / modified is covered by tests.
I am thinking that |genhtml| can be used for lcov formatted code coverage from gcov. It's got good features, but it looks like it's an interface from the early 90s. For the per-test code coverage from the js debugger though we would need to implement something, or use Coco locally somehow.
Product: Core → Firefox Build System
Severity: normal → S3
Attachment #9383629 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: