CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 3 forks source link

Organise unit tests to use pytest fixtures (`test_repository.py` implementation) #176

Closed SeanBryan51 closed 11 months ago

codecov[bot] commented 11 months ago

Codecov Report

Merging #176 (879edc7) into 163-tidy-up-organisation-of-unit-tests (19eff9e) will increase coverage by 14.03%. The diff coverage is 97.20%.

@@                             Coverage Diff                             @@
##           163-tidy-up-organisation-of-unit-tests     #176       +/-   ##
===========================================================================
+ Coverage                                   46.42%   60.45%   +14.03%     
===========================================================================
  Files                                          25       25               
  Lines                                        1676     1659       -17     
===========================================================================
+ Hits                                          778     1003      +225     
+ Misses                                        898      656      -242     
Files Coverage Δ
tests/conftest.py 92.98% <100.00%> (+19.76%) :arrow_up:
tests/test_benchcab.py 100.00% <ø> (ø)
tests/test_comparison.py 90.90% <ø> (ø)
tests/test_config.py 1.75% <ø> (ø)
tests/test_fluxsite.py 97.27% <ø> (ø)
tests/test_fs.py 14.28% <ø> (ø)
tests/test_workdir.py 10.71% <ø> (ø)
tests/test_repository.py 97.33% <97.16%> (+93.76%) :arrow_up:

... and 3 files with indirect coverage changes