-
Notifications
You must be signed in to change notification settings - Fork 687
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
Integration of Codecov to Compare Unit Test Code Coverage Metrics in Go #3976
Comments
Here's a Demo |
Are there any updates about the security issue @S-ayanide ? |
Can I work on this issue? |
@S-ayanide @namkyu1999 Hello! I have raised a PR. Please review it.Thank you!! |
After thorough consideration and in light of the recent security breach issue reported by Codecov (referenced here: Codecov Security Update), we have decided not to move forward with Codecov as our unit test coverage metrics collection tool. The security of our code and data is of utmost importance, and the mentioned security incident raises concerns about the overall integrity and safety of using Codecov at this time. In exploring alternatives, we are open to considering tools that prioritize security and align with our use case. Two options we are interested in exploring are SonarQube and GuardRails. It's worth noting that we have previously tried Codeacy and DeepScan, but found them unsuitable for our use case. Codeacy did not meet our requirements, and DeepScan, while effective for frontend issues, does not align with our current needs. Let's initiate the exploration of SonarQube and GuardRails, and please feel free to share any insights or concerns regarding these alternatives. Additionally, if anyone has other suggestions, please bring them to the discussion. |
Description:
I would like to propose the integration of Codecov into our Go project to compare unit test code coverage metrics generated by the regular Go tool. This integration will provide us with valuable insights into the code coverage of our tests, enabling us to identify areas that require more thorough testing.
Current Situation:
Currently, we are using the regular Go tool to generate code coverage metrics for our unit tests. While this provides us with basic coverage information, it lacks the ability to compare coverage across different branches, pull requests, and commits. It also lacks visual representation and easy-to-understand reports, making it difficult to track the progress of our code coverage over time.
Proposed Solution:
Integrating Codecov into our Go project will address the limitations mentioned above and provide us with comprehensive code coverage reports. Codecov offers a range of features, including visual coverage reports, branch comparison, and pull request integration. By integrating Codecov, we will have access to the following benefits:
Steps to Implement:
To integrate Codecov into our Go project, we will need to perform the following steps:
Review the generated reports and use the insights to improve our test coverage and identify areas for further testing.
Integrating Codecov will significantly enhance our ability to track and improve the code coverage of our Go project. By visualizing and comparing coverage metrics, we can make data-driven decisions to ensure that our codebase is well-tested and maintainable.
The text was updated successfully, but these errors were encountered: