Re:Good Code Coverage means bug-free Software Or does it?
by vkj-98 on Thursday September 16, 2021 @06:58AM
(#28550179)
The files are received from the repo listing. If the files aren't in the raw report, that means your tests are running incorrectly. I've used Codecov for many projects and huge teams, no way what you say is true.
Can sonar cloud track coverage based on a specific test suite or language or file path as some repos have hundredth of modules?
I heavily recommend against this advice, because the person can't figure out how to use the tool and claims that source scanning by some third party, is "a good thing", especially after you see the kind of crap sonar agent installs in your CI.
Re:Good Code Coverage means bug-free Software Or does it?
by verdverm on Thursday September 16, 2021 @12:05PM
(#28553530)
> Can sonar cloud track coverage based on a specific test suite or language or file path as some repos have hundredth of modules?
Absolutely, it's very nice.
Did you create this account to defend Codecov? Telling another they don't know how to run tests is childish as you have no idea what I have done.
Again, I went through this with Codecov support, so I'd take their word over yours.
> Sonar cloud also works with same coverage reports, so if you have that problem in one tool, you're likely to have it in the other.
This is untrue, I have done side-by-side comparisons and talked to support. It is a (not well) known issue for Codecov, understandably as it would hurt the brand.
We use SonarCloud for monorepo. They have specific settings and instructions for setting that up.
We see scanning the code as a good thing. Two minutes is not a big deal for the benefits.
Again, I heavily recommend avoiding Codecov due to the misrepresented statistics.