simplecov-ruby / simplecov

Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
MIT License
4.77k stars 553 forks source link

Check simplecov repo coverage with simplecov? #786

Open tycooon opened 4 years ago

tycooon commented 4 years ago

I find it a bit odd that simplecov doesn't check it's own coverage. What do you think about adding that functionality?

I guess this might be not super straightforward since there also is Cucumber present in the project, but maybe it's possible to merge the results. Or at least having RSpec coverage reported would be a benefit.

PragTob commented 4 years ago

:wave:

I was thinking about the exact same thing the other day :grin:

Totally would love to, not sure if the self referential thing works out but it should. Merging should be possible see: https://github.com/colszowka/simplecov#merging-results - we did that successfully at my old company.

However, in our cucumber tests we also always start new processes for the tests which might make it more complex to get right/half-way right.