Hey @colszowka (or any other contributor) If you have a moment to chat concerning Simplecov's roadmap that would be great. I'm the founder of Codecov and we interests to make Simplecov better.
track_files include all files by default?Thank you for your time.
Hi there,
I might be off with a couple of things but here we go:
1 & 2: Not likely to happen. simplecov builds on the standard library coverage from Ruby. That just reports hits from executed per line, so branch coverage and partial line coverage are not within our reach. Also, right now no one is really actively developing features here except for community contributions to be honest :)
Cheers,
Tobi
Thank you Tobi for your response.
It's unfortunate and surprising that the standard library is not getting attention. The value of branch and partial line coverage is quite valuable.
I personally have not had enough experience with Ruby and Simplecov to understand why/how files are missing from the reports. But it's a common question at Codecov - which makes us look bad because they think Codecov ignores them when in-fact Simplecov did not include them. The documentation on Simplecov.track_files is very light.
Thank you
Hi Steve,
If there are further questions I'd prefer to have those discussed here in
the open, but maybe someone else on the team would be available?
Am 3. Mai 2017 8:45:30 nachm. schrieb Steve Peak notifications@github.com:
Hey @colszowka (or any other contributor) If you have a moment to chat
concerning Simplecov's roadmap that would be great. I'm the founder of
Codecov and we interests to make Simplecov better.Most common questions are:
- When will Simpelcov support branch coverage?
- When will Simplecov support partial line coverage?
- Can Simplecov make
track_filesinclude all files by default?Thank you for your time.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/colszowka/simplecov/issues/577
@stevepeak track_files also really isn't an interface I think people should use most of the times, rather add_filter to EXCLUDE stuff not the other way around.
Oh, Tobi is way too fast, dammit :)
But regarding point 3: The default in simplecov is to filter out anything
outside your project root (see lib/simplecov/defaults.rb). If you install
your dependencies within i.e. root/vendor/bundle using bundle install
--path vendor you'd have all used gems included. If installed outside the
project root, which is the usual default, you'd have to use that filters
clearing I linked to.
On open source tiem right now either way :dancer:
Thank you, you guys are awesome 馃憤
@stevepeak btw. since the recently released 0.18 we support branch coverage, not certain if I'd make a lot of promises regarding the stability of the API though :)
Most helpful comment
Oh, Tobi is way too fast, dammit :)
But regarding point 3: The default in simplecov is to filter out anything
outside your project root (see lib/simplecov/defaults.rb). If you install
your dependencies within i.e. root/vendor/bundle using bundle install
--path vendor you'd have all used gems included. If installed outside the
project root, which is the usual default, you'd have to use that filters
clearing I linked to.