git clone https://github.com/asteroid-team/asteroid
cd asteroid
# install module locally
pip install -e .
# install dev deps
pip install -r requirements/dev.txt
# run tests
py.test -v
From asteroid
parent directory
# generate coverage
coverage run --source asteroid -m py.test tests -v --doctest-modules
# print coverage stats
coverage report -m