-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests #8
Conversation
Thanks for this. I wasn't sure how to go about unit-testing for this project but this looks like a great start. I hope to find some time later today to investigate it properly. My initial thoughts:
|
Looks like coverage counts (The local output of
The .gitignore has the common Python things from https://github.com/github/gitignore/blob/master/README.md added, but the least needed for coverage is only to ignore .coverage and htmlcov/. Would you like me trim that back down and only add those needed ones?
Yes, that's possible, and it also works with coverage. Would you like me to refactor it like that? |
Yes please to the .gitignore and test refactoring. :) |
Changes Unknown when pulling b1beec0 on hugovk:travis-ci into * on araile:develop*. |
I've made some changes so that the unit tests and coverage can also be run locally (using I'm happy to merge this in now. Thanks again! |
Good stuff, happy to help out! |
python test_see.py
without coverage; orcoverage run --source=see ./test_see.py -v
with coverage. Thecoverage report
shows the results, orcoverage html
to generate local files in htmlcov/TODO Before merge, please will you enable the araile/see repo at:
Both are free for open source.