DeloitteOptimalReality / LightOSM.jl

A Julia package for downloading and analysing geospatial data from OpenStreetMap APIs.
https://deloitteoptimalreality.github.io/LightOSM.jl/docs
Other
48 stars 13 forks source link

Add tests, organise tests files and make errors specific #24

Closed mmiller-max closed 3 years ago

mmiller-max commented 3 years ago

Add some more tests, including an end to end download. Not a full test suite by any means but hopefully will catch major breaks before we can make the test suite more comprehensive.

codecov-commenter commented 3 years ago

Codecov Report

Merging #24 (ef719ec) into master (0f17094) will increase coverage by 41.55%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #24       +/-   ##
===========================================
+ Coverage    9.28%   50.84%   +41.55%     
===========================================
  Files          11       11               
  Lines         829      828        -1     
===========================================
+ Hits           77      421      +344     
+ Misses        752      407      -345     
Impacted Files Coverage Δ
src/download.jl 53.01% <100.00%> (+53.01%) :arrow_up:
src/utilities.jl 98.78% <100.00%> (+98.78%) :arrow_up:
src/types.jl 45.45% <0.00%> (+5.45%) :arrow_up:
src/geometry.jl 92.39% <0.00%> (+13.04%) :arrow_up:
src/graph.jl 54.23% <0.00%> (+54.23%) :arrow_up:
src/parse.jl 62.50% <0.00%> (+62.50%) :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 0f17094...ef719ec. Read the comment docs.