datactive / bigbang

Scientific analysis of collaborative communities
http://datactive.github.io/bigbang/
MIT License
149 stars 52 forks source link

improve listserv unit tests #475

Closed Christovis closed 3 years ago

Christovis commented 3 years ago

This PR includes more unit tests for better code coverage of modules that enable to read Listserv 16.5 mailing archives of different file formats from disk.

codecov-commenter commented 3 years ago

Codecov Report

Merging #475 (3c0b5f8) into main (d0c97b4) will increase coverage by 0.90%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
+ Coverage   74.22%   75.13%   +0.90%     
==========================================
  Files          16       16              
  Lines        2266     2284      +18     
==========================================
+ Hits         1682     1716      +34     
+ Misses        584      568      -16     
Flag Coverage Δ
unittests 75.13% <100.00%> (+0.90%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/unit/test_listserv.py 100.00% <100.00%> (ø)
tests/webscraping/test_listserv.py 91.33% <100.00%> (+0.28%) :arrow_up:
bigbang/listserv.py 82.20% <0.00%> (+3.09%) :arrow_up:

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 d0c97b4...3c0b5f8. Read the comment docs.