Pragmatic Bookshelf

Python Testing with pytest: Simple, Rapid, Effective, and Scalable

Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. 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 …

Learn more