Who can tell me a small open source Python project (not Django) with good testing?

Who can tell me a small or medium open source project (like on Github) in Python (not Django) with good testing coverage using unittest . I have read several books and articles on this topic and I want to get unittest practice. See the real unittest code in a real project.

+4
source share
2 answers

I will also consider the use of networks, you can write your tests in the unittest style, if you want, or in a more modular way. In order to get coverage through the net, all you have to do is use the --with-coverage modifier on the command line. Also, if you just want to get good coverage of your code when it is executed, I would use the actual coverage module http://nedbatchelder.com/code/coverage/ , which you can import into your project and use it programmatically. Hope this helps.

+2
source

You can see Flask ( Github ) and how they handle unittests .

+3
source

Source: https://habr.com/ru/post/1393263/


All Articles