JGCRI / stitches

Amalgamate existing climate data to create monthly climate variable fields.
https://jgcri.github.io/stitches/
BSD 2-Clause "Simplified" License
8 stars 2 forks source link

Individual testing files #58

Closed kdorheim closed 2 years ago

kdorheim commented 2 years ago

This PR is to be merged after #57, it separates all of unit tests we have into the correct files. Note that the contest of the files and the functions need to be updated/made consistent with the test_pangeo.py and test_util.py

codecov-commenter commented 2 years ago

Codecov Report

Merging #58 (cfd2208) into dev (4897156) will increase coverage by 36.19%. The diff coverage is 85.10%.

@@             Coverage Diff             @@
##              dev      #58       +/-   ##
===========================================
+ Coverage   13.32%   49.52%   +36.19%     
===========================================
  Files          14       20        +6     
  Lines         863     1042      +179     
===========================================
+ Hits          115      516      +401     
+ Misses        748      526      -222     
Impacted Files Coverage Δ
stitches/tests/make_testing_data.py 0.00% <0.00%> (ø)
stitches/tests/test_recipe.py 93.75% <93.75%> (ø)
stitches/tests/test_internal_data.py 96.66% <96.66%> (ø)
stitches/tests/test_stitch.py 96.77% <96.77%> (ø)
stitches/tests/test_match.py 97.22% <97.22%> (ø)
stitches/tests/test_util.py 97.91% <97.91%> (ø)
stitches/fx_util.py 89.87% <100.00%> (+72.01%) :arrow_up:
stitches/fx_recepie.py 8.62% <0.00%> (+3.87%) :arrow_up:
stitches/fx_data.py 50.00% <0.00%> (+22.22%) :arrow_up:
... and 2 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 4897156...cfd2208. Read the comment docs.