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

Tests: Make sensor tests work, using a fake sysfs filesystem #6

Merged
merged 7 commits into from
Apr 16, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Apr 15, 2024

About

By making the software tests work, the program can receive further refactorings, without the risk of breaking the desired outcome.

@amotl amotl requested a review from bee-mois April 15, 2024 23:32
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (db59c8a) to head (d8667c7).

❗ Current head d8667c7 differs from pull request most recent head 5830114. Consider uploading reports for the commit 5830114 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##             main        #6       +/-   ##
============================================
+ Coverage   24.18%   100.00%   +75.81%     
============================================
  Files           2         2               
  Lines         153       153               
============================================
+ Hits           37       153      +116     
+ Misses        116         0      -116     
Flag Coverage Δ
unittests 100.00% <ø> (+75.81%) ⬆️

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

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

@amotl amotl marked this pull request as ready for review April 16, 2024 00:02
@amotl amotl merged commit 63e9a71 into main Apr 16, 2024
2 checks passed
@amotl amotl deleted the amo/tests-real branch April 16, 2024 00:04
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