Skip to content

test: expand unit and integration tests for broader coverage#6

Merged
snabb merged 2 commits into
mainfrom
test/expand-coverage
Apr 19, 2026
Merged

test: expand unit and integration tests for broader coverage#6
snabb merged 2 commits into
mainfrom
test/expand-coverage

Conversation

@snabb
Copy link
Copy Markdown
Owner

@snabb snabb commented Apr 19, 2026

Summary

  • Add unit tests for ErrorWord, InterruptStatus, SelfTestResult, and interrupt_map_location
  • Expand async I2C integration tests to cover self-test, enable_feature_engine, wait_for_interrupt, and error paths
  • Expand blocking I2C integration tests with the same coverage

Test plan

  • All existing tests continue to pass (cargo test)
  • New tests cover previously uncovered paths (verify via cargo llvm-cov)

🤖 Generated with Claude Code

Add unit tests for ErrorWord, InterruptStatus, SelfTestResult, and
interrupt_map_location. Expand async and blocking I2C integration tests
to cover self-test, enable_feature_engine, wait_for_interrupt, and
various error paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.13%. Comparing base (b86af30) to head (7c0b8f9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #6       +/-   ##
===========================================
+ Coverage   87.54%   99.13%   +11.59%     
===========================================
  Files           6        6               
  Lines        1846     1846               
===========================================
+ Hits         1616     1830      +214     
+ Misses        230       16      -214     

☔ View full report in Codecov by Sentry.
📢 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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@snabb snabb merged commit 75a7501 into main Apr 19, 2026
4 checks passed
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.

1 participant