pi-top / pi-top-Python-SDK

pi-top's Python SDK (pitop package)
Apache License 2.0
28 stars 4 forks source link

Test runner improvements #536

Closed jcapona closed 2 years ago

jcapona commented 2 years ago
Status Ticket/Issue
Ready/Hold Ticket

Main changes

Screenshots (feature, test output, profiling, dev tools etc)

[insert screenshots here]

Other notes (e.g. implementation quirks, edge cases, questions / issues)

-

Manual testing tips

-

Tag anyone who definitely needs to review or help

-

codecov[bot] commented 2 years ago

Codecov Report

Merging #536 (01a033a) into master (3682e9f) will increase coverage by 1.18%. The diff coverage is 29.41%.

@@            Coverage Diff             @@
##           master     #536      +/-   ##
==========================================
+ Coverage   49.07%   50.26%   +1.18%     
==========================================
  Files         146      146              
  Lines        6877     6902      +25     
==========================================
+ Hits         3375     3469      +94     
+ Misses       3502     3433      -69     
Flag Coverage Δ
unittests 50.26% <29.41%> (+1.18%) :arrow_up:

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

Impacted Files Coverage Δ
pitop/miniscreen/oled/core/lock.py 0.00% <0.00%> (ø)
pitop/pma/ultrasonic_sensor_base.py 46.78% <11.11%> (-1.22%) :arrow_down:
pitop/common/ptdm.py 90.86% <40.00%> (-0.70%) :arrow_down:
.../robotics/navigation/core/measurement_scheduler.py 87.50% <57.14%> (-8.66%) :arrow_down:
pitop/robotics/navigation/navigation_controller.py 90.72% <60.00%> (-0.86%) :arrow_down:
pitop/processing/core/load_models.py 44.89% <0.00%> (-40.82%) :arrow_down:
pitop/robotics/navigation/core/goal_criteria.py 96.42% <0.00%> (+7.14%) :arrow_up:
pitop/common/formatting.py 38.46% <0.00%> (+7.69%) :arrow_up:
pitop/camera/core/capture_actions/store_frame.py 100.00% <0.00%> (+8.33%) :arrow_up:
pitop/camera/core/capture_actions/video_capture.py 92.30% <0.00%> (+15.38%) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3682e9f...01a033a. Read the comment docs.