Book cover of Python Testing with Pytest: Simple, Rapid, Effective, and Scalable

Book description

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…

When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked Python Testing with Pytest as one of their favorite books. Why do they recommend it?

While this is a Python-specific book, it’s a fantastic description of all the possibilities for testing with a powerful module like Pytest offers. Testing is one of the basic experiences for a programmer, as it should be included as a core part of the development process. Understanding all the different options available like mark groups of tests, parametric tests, building your own extensions, or test coverage, to name only a few details, expands the understanding of how to design better tests and run them more efficiently.

From Jaime's list on for Python and non-Python developers.

If you love Python Testing with Pytest...

Book cover of December on 5C4

December on 5C4 by Adam Strassberg,

Magical realism meets the magic of Christmas in this mix of Jewish, New Testament, and Santa stories–all reenacted in an urban psychiatric hospital!

On locked ward 5C4, Josh, a patient with many similarities to Jesus, is hospitalized concurrently with Nick, a patient with many similarities to Santa. The two argue…

Want books like Python Testing with Pytest?

Our community of 12,000+ authors has personally recommended 46 books like Python Testing with Pytest.

Browse books like Python Testing with Pytest

Book cover of The Mythical Man-Month: Essays on Software Engineering
Book cover of Practical Vim: Edit Text at the Speed of Thought (Pragmatic Programmers)
Book cover of The Pragmatic Programmer: Your Journey to Mastery

Share your top 3 reads of 2025!

And get a beautiful page showing off your 3 favorite reads.

1,298

readers submitted
so far, will you?

📚 If you like Python Testing with Pytest, you might also like...

Book cover of Karl's War

Karl's War by Neil Spark,

Karl's War is a coming-of-age-meets-thriller set in Germany on the eve of Hitler coming to power. Karl – a reluctant poster boy for the Nazis – meets Jewish Ben and his world is up-turned.

Ben and his family flee to France. Karl joins the German army but deserts and finds…

Book cover of Girl in the Ashes

Girl in the Ashes by Douglas Weissman,

Odette Lefebvre is a serial killer stalking the shadows of Nazi-occupied Paris and must confront both the evils of those she murders and the darkness of her own past.

This young woman's childhood trauma shapes her complex journey through World War II France, where she walks a razor's edge…

5 book lists we think you will like!