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

NEW
Unassigned

Status

Firefox Build System
Mach Core
a year ago
4 months ago

People

(Reporter: marco, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox54 affected)

Details

(Reporter)

Description

a year ago
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.

Updated

4 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.