djsilva99 / heatrapy

Python library for simulating heat transfer processes
https://djsilva99.github.io/heatrapy
MIT License
72 stars 14 forks source link

test: increase coverage #25

Closed djsilva99 closed 2 months ago

djsilva99 commented 2 months ago

What

This PR increases the test coverage to meet the requirement of 70%.

Why

The initial project had a coverage below 50%. Although the ideal target is 80%, the coverage will be increases met the target of 70% for now, so that in a near future the 80% is met in a test refactoring.

How

The current PR includes more scenarios in the integration tests.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 70.57%. Comparing base (491c53d) to head (b6abc3d). Report is 1 commits behind head on master.

@@             Coverage Diff             @@
##           master      #25       +/-   ##
===========================================
+ Coverage   48.53%   70.57%   +22.03%     
===========================================
  Files          21       21               
  Lines        2328     2328               
===========================================
+ Hits         1130     1643      +513     
+ Misses       1198      685      -513     

see 3 files with indirect coverage changes