mozilla / grcov

Rust tool to collect and aggregate code coverage data for multiple source files
Mozilla Public License 2.0
1.18k stars 149 forks source link

Support parsing covdir files #94

Open marco-c opened 6 years ago

marco-c commented 6 years ago

We want to support parsing covdir files too.

We currently only support outputting them (https://github.com/mozilla/grcov/blob/6471bb938c1306be97b830ae72571cb2e1ef0094/src/output.rs#L135).

In order to fix this, we need to add a function for parsing covdir files to src/parser.rs, and use it in src/lib.rs.

Here is an example covdir file: https://github.com/mozilla/grcov/blob/5d905d3503e8c189f8b1f03c53d71b65ecd7b870/test/test_covdir.json.

marco-c commented 6 years ago

If we had this feature, we could use it in ActiveData and avoid parsing the coveralls files with Python (unless we decide to switch to another format for the per-test-coverage reports).

sankara commented 5 years ago

I don't see a description in here. How do I find more information and see if I can contribute to fixing it?

marco-c commented 5 years ago

I don't see a description in here. How do I find more information and see if I can contribute to fixing it?

I've added a description in the first comment.