Closed samliu closed 12 years ago
Just merged this - looks great! You're now at about 87% test coverage. If you want to take a look at the coverage yourself, here's how:
pip install coverage
coverage run --branch runtests.py # runs the tests under coverage monitorying, with code-branch tracking
coverage html --include='spade/*' --omit='spade/tests/*' # we want to see coverage for spade/ except for spade/tests
firefox htmlcov/index.html # "coverage html" outputs by default into "htmlcov/"
If you feel like it, you could add a script to do some of this into the repo, and add htmlcov
to .gitignore
.