uptake / autofocus

Deep learning computer vision for classifying wildlife in camera trap images
BSD 3-Clause "New" or "Revised" License
54 stars 30 forks source link

Add test coverage to CI #71

Closed jameslamb closed 5 years ago

jameslamb commented 5 years ago

Should consider calculating test coverage using codecov and a codecov badge in the README.

Doing this basically entails adding this to .travis.yml:

after_success:
    - codecov

And changing the tests to also calculate a test coverage tool, for example

script:
    - coverage run setup.py test
    - coverage report -m
gsganden commented 5 years ago

To my mind test coverage should not be a high priority for this project because it's largely a set of scripts that are used to develop models interactively, rather than e.g. a library of functions with contracts that need to be enforced.