libwww-perl / WWW-Mechanize

Handy web browsing in a Perl object
https://metacpan.org/pod/WWW::Mechanize
Other
68 stars 52 forks source link

make mech-dump treat local files as HTML and add more test coverage #338

Closed simbabque closed 2 years ago

simbabque commented 2 years ago

I've reimplemented #102 with the most recent suggestion in #63. Closes #102 and fixes #63.

codecov[bot] commented 2 years ago

Codecov Report

Merging #338 (4a06dc4) into master (15fdf99) will decrease coverage by 0.15%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #338      +/-   ##
==========================================
- Coverage   87.69%   87.54%   -0.16%     
==========================================
  Files           3        3              
  Lines         829      851      +22     
  Branches      222      232      +10     
==========================================
+ Hits          727      745      +18     
- Misses         38       40       +2     
- Partials       64       66       +2     
Impacted Files Coverage Δ
lib/WWW/Mechanize.pm 86.98% <0.00%> (-0.15%) :arrow_down:

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 15fdf99...4a06dc4. Read the comment docs.

simbabque commented 2 years ago

I don't understand that coverage report. I think it must be based on a previous run, and because it hasn't run properly for a while it got confused. Meh. It also doesn't seem to measure for scripts. I wonder if we can turn that on?