vintagepc / MK404

A functional Simulator for Prusa (Mini/Einsy) Rambo based printers
https://vintagepc.github.io/MK404/
GNU General Public License v3.0
70 stars 9 forks source link

321 improved testing #322

Closed vintagepc closed 3 years ago

vintagepc commented 3 years ago

Rework some code, add Catch2 tests for things that cannot be easily tested by the existing scripts.

Closes #321

codecov[bot] commented 3 years ago

Codecov Report

Merging #322 (afad225) into master (03b0780) will increase coverage by 1.54%. The diff coverage is 99.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
+ Coverage   88.84%   90.39%   +1.54%     
==========================================
  Files         148      149       +1     
  Lines        6707     6819     +112     
==========================================
+ Hits         5959     6164     +205     
+ Misses        748      655      -93     
Impacted Files Coverage Δ
parts/Board.h 91.66% <ø> (ø)
parts/IScriptable.h 100.00% <ø> (ø)
parts/components/ADC_Buttons.h 100.00% <ø> (ø)
parts/components/EEPROM.h 100.00% <ø> (ø)
parts/components/HC595.cpp 100.00% <ø> (+8.82%) :arrow_up:
parts/components/HD44780.h 100.00% <ø> (ø)
parts/components/IRSensor.h 100.00% <ø> (ø)
parts/components/PAT9125.h 100.00% <ø> (ø)
parts/components/PINDA.h 100.00% <ø> (ø)
parts/components/TMC2130.cpp 100.00% <ø> (+8.88%) :arrow_up:
... and 36 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 03b0780...afad225. Read the comment docs.