Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature proposal: multiple coverages in one html #99

Open
Pr0p1k opened this issue Jun 25, 2020 · 2 comments
Open

Feature proposal: multiple coverages in one html #99

Pr0p1k opened this issue Jun 25, 2020 · 2 comments

Comments

@Pr0p1k
Copy link

Pr0p1k commented Jun 25, 2020

Given that we have multiple different tests or specs run. In case of RubyMine these runs have separated reports hence they aren't merged by simplecov. It would be very nice for report generator to take multiple file paths and merge results in one html.
E.g.: I have to reports:
The first has 100% in foo.rb and 20% in foo_test.rb
The second one has 100% in foo_helper.rb and 20% on other lines in foo_test.rb
Then I expect to get one html with 100% for foo, foo_helper and 40% (or less if lines intersect) for foo_test.

@Pr0p1k Pr0p1k changed the title Feature proposal: multiple coverage in one html Feature proposal: multiple coverages in one html Jun 25, 2020
@PragTob
Copy link
Collaborator

PragTob commented Jun 25, 2020

👋

Hi @Pr0p1k - the simplecov README has an entire section related to merging. There's even as of somewhat recently a new API thanks to some contributors to support this kind of thing: https://github.com/colszowka/simplecov#merging-test-runs-under-different-execution-environments

Cheers

@PragTob
Copy link
Collaborator

PragTob commented Jul 5, 2020

Hi @Pr0p1k - does this solve your problem and can I close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants