I completed my first proper project in Python and now my task is to write tests for it.
Since this is the first time I did a project, this is the first time I would be writing tests for it.
The question is, how do I start? I have absolutely no idea. Can anyone point me to some documentation/ tutorial/ link/ book that I can use to start with writing tests (and I guess unit testing in particular)
Any advice will be welcomed on this topic.
py.test
.nose
andnose2
are in maintenance mode.unittest
requires more boiler-plate code compared topy.test
andpy.test
is getting way more traction than the other frameworks.