hiveeyes / ds18b20-datalogger

A temperature sensor matrix with heatmap visualization for bee hive monitoring, using Raspberry Pi, Linux, Python, DS18B20, MQTT, Kotori DAQ, and Grafana.
https://community.hiveeyes.org/t/laborprotokoll-4x5-temp-matrix-mit-ds18b20/5102
GNU General Public License v3.0
1 stars 0 forks source link

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

Closed amotl closed 7 months ago

amotl commented 7 months ago

About

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

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

:exclamation: 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 ```diff @@ 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](https://app.codecov.io/gh/hiveeyes/ds18b20-datalogger/pull/6/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/hiveeyes/ds18b20-datalogger/pull/6/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes) | `100.00% <ø> (+75.81%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.