Who can tell me a small or middle opensource (for instance, on Github) project on Python (not Django) with good test coverage, using unittest. I’ve read some books and articles about this theme and I want to get practice of unittest. See real unittest code in real project.
Who can tell me a small or middle opensource (for instance, on Github) project
Share
I’d also look into using nosetests, you can write your tests in the unittest style if you like or in a more modular way. In order to get coverage using nosetests all you need to do is tack on the –with-coverage modifier on the command line. Also if you just want good coverage of your code as it’s executed I’d use the actual coverage module http://nedbatchelder.com/code/coverage/ you can import it into your project and use it programmatically as well. Hope this helps.