The pytest testing framework helps you write tests quickly and keep them readable and maintainable—with no boilerplate code. Using a robust yet simple fixture model, it’s just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how.
A very good introduction into pytest, using an example project to introduce and demonstrate all important concepts of pytest and its surrounding ecosystem.
Pros:Entertaining read, good example project that guides you through the whole learning experience.
Cons:None