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

Update CodeCov to include integration tests #185

Open
3 tasks
billschereriii opened this issue Jan 6, 2022 · 0 comments
Open
3 tasks

Update CodeCov to include integration tests #185

billschereriii opened this issue Jan 6, 2022 · 0 comments
Labels
area: test Issues related to the test suite

Comments

@billschereriii
Copy link
Contributor

billschereriii commented Jan 6, 2022

Description

CodeCov coverage statistics do not currently take integration tests into account, just unit testing. This should be expanded to present an accurate picture of our code coverage. The root of the issue is that LCOV does not use the integration tests in its report, so LCOV's report should be expanded to account for the integration tests.

Justification

Using all tests in the coverage report provides a better reflection of what areas of the code base still need to be tested.

Implementation Strategy

  1. Either generate a separate coverage report with LCOV for the integration tests and then merge with the coverage report generated by the unit tests, or run both the unit tests and integration tests at the same time, generating a single coverage report with LCOV.
  2. Tweak CI to ensure both integration test coverage and unit test coverage are uploaded to CodeCov.

Acceptance Criteria

  • Generate integration tests coverage report
  • Combine integration coverage and unit test coverage into a single report
  • Upload the combined coverage report to CodeCov through GitHub Actions
@billschereriii billschereriii added the type: feature Issues that include feature request or feature idea label Jan 6, 2022
@mellis13 mellis13 added area: test Issues related to the test suite and removed type: feature Issues that include feature request or feature idea labels Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: test Issues related to the test suite
Projects
None yet
Development

No branches or pull requests

2 participants