Skip to content

Split unit/integration test codecov report (#128)#129

Merged
kurnakovv merged 14 commits into
devfrom
b-128
Jul 14, 2026
Merged

Split unit/integration test codecov report (#128)#129
kurnakovv merged 14 commits into
devfrom
b-128

Conversation

@kurnakovv

Copy link
Copy Markdown
Owner

Issue: #128

@codecov-commenter

codecov-commenter commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.26%. Comparing base (30f634d) to head (8d839ce).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #129      +/-   ##
==========================================
+ Coverage   95.64%   96.26%   +0.62%     
==========================================
  Files          30       30              
  Lines        1606     1606              
  Branches      233      233              
==========================================
+ Hits         1536     1546      +10     
+ Misses         40       35       -5     
+ Partials       30       25       -5     
Flag Coverage Δ
integration-tests 95.64% <ø> (?)
unit-tests 28.70% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/Biak.ConsoleApp/Helpers/BiakConfigHelper.cs Fixed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CI and Codecov configuration to publish separate coverage reports for unit tests and integration tests, addressing issue #128 and improving visibility into coverage by test layer.

Changes:

  • Split GitHub Actions coverage execution into dedicated unit/integration dotnet test runs and upload each report to Codecov with distinct flags.
  • Add a local PowerShell helper script to generate separate HTML coverage reports for unit/integration tests.
  • Add a small helper API (ExistsInCurrentDirectory) plus a corresponding unit test, and introduce codecov.yml + ignore local coverage/tool artifacts.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/Biak.ConsoleApp.UnitTests/Helpers/BiakConfigHelperTests.cs Adds a test for new config-existence helper (needs determinism improvements).
src/Biak.ConsoleApp/Helpers/BiakConfigHelper.cs Adds ExistsInCurrentDirectory() helper (minor maintainability refactor recommended).
generate-coverage-reports.ps1 New script to generate separate unit/integration HTML coverage reports (needs cross-platform tool name handling).
codecov.yml New Codecov config defining separate unit/integration flags and project status behavior.
.gitignore Ignores local tool directory and generated coverage report output.
.github/workflows/codecov.yml Splits coverage runs and uploads flagged reports to Codecov (normalization steps should fail fast if coverage output is missing).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/codecov.yml Outdated
Comment thread .github/workflows/codecov.yml Outdated
Comment thread tests/Biak.ConsoleApp.UnitTests/Helpers/BiakConfigHelperTests.cs Outdated
Comment thread generate-coverage-reports.ps1
Comment thread src/Biak.ConsoleApp/Helpers/BiakConfigHelper.cs Outdated
kurnakovv and others added 4 commits July 13, 2026 21:26
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@kurnakovv kurnakovv left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kurnakovv kurnakovv merged commit 05a8fac into dev Jul 14, 2026
22 checks passed
@kurnakovv kurnakovv deleted the b-128 branch July 14, 2026 05:01
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.

Split Codecov reporting into separate unit-test and integration-test reports

4 participants