Created
July 13, 2016 21:33
-
-
Save ra-tolson/18f1aed6f17184e88424183dfb96269a to your computer and use it in GitHub Desktop.
Shows code coverage seems to work even in a subprocess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command to produce this was $ py.test --cov=gips -s -vv 2>&1 | tee coverage.log | |
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.11+, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /home/tolson/src/gips/.venv/bin/python2 | |
cachedir: .cache | |
rootdir: /home/tolson/src/gips, inifile: pytest.ini | |
plugins: cov-2.2.1, timeout-1.0.0 | |
collecting ... collected 11 items | |
gips/test/sys/t_modis.py::t_inventory PASSED | |
gips/test/sys/t_modis.py::t_process PASSED | |
gips/test/sys/t_modis.py::t_info PASSED | |
gips/test/sys/t_modis.py::t_project PASSED | |
gips/test/sys/t_modis.py::t_project_two_runs PASSED | |
gips/test/sys/t_modis.py::t_project_no_warp PASSED | |
gips/test/sys/t_modis.py::t_tiles PASSED | |
gips/test/sys/t_modis.py::t_tiles_copy PASSED | |
gips/test/sys/t_modis.py::t_stats PASSED | |
gips/test/sys/t_repo_src_alteration.py::t_modis_inv_fetch SKIPPED | |
gips/test/sys/t_repo_src_alteration.py::t_modis_inv_fetch_on_wednesday PASSED | |
--------------- coverage: platform linux2, python 2.7.11-final-0 --------------- | |
Name Stmts Miss Cover | |
------------------------------------------------------------------- | |
gips/__init__.py 1 0 100% | |
gips/algorithm.py 54 54 0% | |
gips/atmosphere.py 206 170 17% | |
gips/core.py 118 30 75% | |
gips/data/__init__.py 0 0 100% | |
gips/data/aod/__init__.py 1 0 100% | |
gips/data/aod/aod.py 181 145 20% | |
gips/data/cdl/__init__.py 1 1 0% | |
gips/data/cdl/cdl.py 37 37 0% | |
gips/data/core.py 568 226 60% | |
gips/data/daymet/__init__.py 1 1 0% | |
gips/data/daymet/daymet.py 66 66 0% | |
gips/data/landsat/__init__.py 1 1 0% | |
gips/data/landsat/landsat.py 499 452 9% | |
gips/data/merra/__init__.py 1 0 100% | |
gips/data/merra/merra.py 298 253 15% | |
gips/data/merra/raster.py 51 44 14% | |
gips/data/modis/__init__.py 1 0 100% | |
gips/data/modis/make_tiles.py 54 54 0% | |
gips/data/modis/modis.py 502 68 86% | |
gips/data/prism/__init__.py 1 1 0% | |
gips/data/prism/prism.py 154 154 0% | |
gips/data/sar/__init__.py 1 1 0% | |
gips/data/sar/sar.py 160 160 0% | |
gips/data/sarannual/__init__.py 1 1 0% | |
gips/data/sarannual/sarannual.py 93 93 0% | |
gips/data/weld/__init__.py 1 1 0% | |
gips/data/weld/weld.py 233 233 0% | |
gips/inventory.py 204 76 63% | |
gips/mapreduce.py 71 58 18% | |
gips/parsers.py 114 10 91% | |
gips/scripts/__init__.py 0 0 100% | |
gips/scripts/archive.py 22 22 0% | |
gips/scripts/config.py 54 54 0% | |
gips/scripts/info.py 17 5 71% | |
gips/scripts/inventory.py 25 5 80% | |
gips/scripts/mask.py 63 63 0% | |
gips/scripts/process.py 37 14 62% | |
gips/scripts/project.py 40 11 73% | |
gips/scripts/stats.py 48 5 90% | |
gips/scripts/tiles.py 38 10 74% | |
gips/settings.py 4 0 100% | |
gips/settings_template.py 4 4 0% | |
gips/test/__init__.py 0 0 100% | |
gips/test/int/__init__.py 0 0 100% | |
gips/test/sys/__init__.py 0 0 100% | |
gips/test/sys/expected/__init__.py 0 0 100% | |
gips/test/sys/expected/modis.py 9 0 100% | |
gips/test/sys/expected/repo_src_alteration.py 1 1 0% | |
gips/test/sys/t_modis.py 55 6 89% | |
gips/test/sys/t_repo_src_alteration.py 26 10 62% | |
gips/test/sys/util.py 96 13 86% | |
gips/test/tile_geom.py 30 30 0% | |
gips/test/unit/__init__.py 0 0 100% | |
gips/tiles.py 109 28 74% | |
gips/user_settings_template.py 6 6 0% | |
gips/utils.py 233 79 66% | |
gips/version.py 1 0 100% | |
------------------------------------------------------------------- | |
TOTAL 4592 2756 40% | |
=========== 10 passed, 1 skipped, 2 pytest-warnings in 57.18 seconds =========== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment