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

Expand unit tests #130

Merged
merged 25 commits into from
Oct 1, 2023
Merged

Expand unit tests #130

merged 25 commits into from
Oct 1, 2023

Conversation

vintagepc
Copy link
Owner

@vintagepc vintagepc commented May 21, 2023

Add test coverage for the various peripherals. WIP.

Closes #129

@codecov-commenter
Copy link

codecov-commenter commented May 22, 2023

Codecov Report

Patch coverage: 83.73% and project coverage change: +16.58% 🎉

Comparison is base (5cc5c0e) 18.31% compared to head (11e8442) 34.89%.

Additional details and impacted files
@@             Coverage Diff              @@
##           MINI404     #130       +/-   ##
============================================
+ Coverage    18.31%   34.89%   +16.58%     
============================================
  Files          129      123        -6     
  Lines        13286    12023     -1263     
  Branches      2647     2195      -452     
============================================
+ Hits          2433     4196     +1763     
+ Misses       10753     7570     -3183     
- Partials       100      257      +157     
Files Changed Coverage Δ
hw/arm/prusa/stm32f030/stm32f03x_rcc.c 90.04% <ø> (+24.17%) ⬆️
hw/arm/prusa/stm32f407/stm32f2xx_rcc.h 100.00% <ø> (ø)
hw/arm/prusa/stm32f407/stm32f4xx_rng.h 100.00% <ø> (ø)
hw/arm/prusa/stm32_common/stm32_common.c 65.29% <50.00%> (+14.70%) ⬆️
hw/arm/prusa/stm32_common/stm32_rcc.c 77.33% <50.00%> (+12.46%) ⬆️
hw/arm/prusa/stm32_common/stm32_crc.c 91.02% <60.00%> (+51.26%) ⬆️
hw/arm/prusa/stm32_common/stm32_otp.c 78.57% <60.00%> (+29.44%) ⬆️
hw/arm/prusa/stm32_common/stm32_syscfg.c 94.11% <60.00%> (+44.11%) ⬆️
hw/arm/prusa/stm32g070/stm32g070_flashint.c 91.66% <60.00%> (+62.80%) ⬆️
hw/arm/prusa/stm32_common/stm32_f2xx_f4xx_dma.c 90.25% <72.97%> (+77.19%) ⬆️
... and 14 more

... and 18 files with indirect coverage changes

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

@vintagepc vintagepc marked this pull request as ready for review October 1, 2023 13:39
@vintagepc vintagepc merged commit 1398c2a into MINI404 Oct 1, 2023
@vintagepc vintagepc deleted the expand-tests branch October 1, 2023 13:40
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.

Add unit tests for STM32 chip peripherals
2 participants