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

Revert "Enable Coveralls for coverage reporting" #2344

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

evankanderson
Copy link
Member

Reverts #2342

The YAML here is not valid (wrong indentation), and this causes all testing to break.

@evankanderson evankanderson requested a review from a team as a code owner February 13, 2024 17:41
@evankanderson evankanderson merged commit b315db0 into main Feb 13, 2024
18 checks passed
@evankanderson evankanderson deleted the revert-2342-coveralls branch February 13, 2024 17:54
@Vyom-Yadav
Copy link
Member

@evankanderson @JAORMX Just a suggestion. I would pick mutation testing over simple coverage testing. Most mutation-introducing frameworks check code coverage too (with mutations as an addition). I haven't used any go mutation testing frameworks but I extensively worked with pitest java in one of the projects, and it really surpasses checking for line coverage (logic coverage > line coverage).

@evankanderson
Copy link
Member Author

@evankanderson @JAORMX Just a suggestion. I would pick mutation testing over simple coverage testing. Most mutation-introducing frameworks check code coverage too (with mutations as an addition). I haven't used any go mutation testing frameworks but I extensively worked with pitest java in one of the projects, and it really surpasses checking for line coverage (logic coverage > line coverage).

I hear you. 😁

This is about having a tool to track coverage over time, rather than a tool to compute coverage.

For computing coverage for go, go cover is the standard tool which we already have hooked up. We can add more tools if they produce a standard coverage file, and coveralls should be able to report on the combined coverage result.

@Vyom-Yadav
Copy link
Member

Cool, I have seen coveralls but never configured it myself. With mutation testing, you should get it as early as possible. Otherwise, you may end up with a pile of technical debt that consumes a lot of time.

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

Successfully merging this pull request may close these issues.

3 participants