Goodreads helps you keep track of books you want to read.
Start by marking “Python Testing with Pytest: Simple, Rapid, Effective, and Scalable” as Want to Read:
Python Testing with Pytest: Simple, Rapid, Effective, and Scalable
Enlarge cover
Rate this book
Clear rating
Open Preview

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

4.05  ·  Rating details ·  94 ratings  ·  12 reviews
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 it is to scale up to complex functional ...more
Published October 25th 2017 by Pragmatic Bookshelf
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Python Testing with Pytest, please sign up.

Be the first to ask a question about Python Testing with Pytest

Community Reviews

Showing 1-30
Average rating 4.05  · 
Rating details
 ·  94 ratings  ·  12 reviews

More filters
Sort order
Start your review of Python Testing with Pytest: Simple, Rapid, Effective, and Scalable
Jan 27, 2018 rated it it was amazing
It covers a lot of ground for such a brief read. Would recommend to anyone starting out with Python, just to get the grip of how things should be built. For me personally, it filled in a lot of gaps in testing code with Python, which is the whole reason I bought this book.
Og Maciel
Oct 03, 2017 rated it it was amazing
Shelves: digital, owned
Though I'm already well versed in pytest usage, I enjoyed reading this book and found some interesting little gems which will definitely be useful for some of my projects.
Jul 18, 2017 rated it really liked it
This book is very, very good. In terms of being a thorough introduction to pytest, it is the best there is, and it is nearly perfect. In terms of introducing test-driven design, Brian Okken is not quite ambitious enough. If you haven't read a book about test-driven design, get one along with this book. One homes a future edition shows the TDD process through pytest, which is the best way to learn it.

OK JaeWoo
Feb 02, 2019 rated it it was amazing  ·  review of another edition
This review has been hidden because it contains spoilers. To view it, click here.
Jan Kroken
The book has significant issues with pacing. Some chapters feels like they have almost no content and the text is just stretched out to fill the page count, mainly through long examples and trivial printouts of the pytest "-help" output. Other sections feels too short.

Overall, I would absolutely not recommend this book for learning TDD (for that, "Test Driven Web Development with Python" (the testing goat book) is an infinitely better option). It is also not very successful as a reference. It
Andy Miles
Mar 24, 2019 rated it it was amazing
Recommends it for: Any Python developer
Recommended to Andy by: I found it in a book store!
Shelves: beginning-python
Once you master the basic syntax of Python (see my other reviews) then this is the book to read. Test driven approaches to development are now popular because the really work, and not only by producing better quality code. They also allow documentation to be executed as part of the build process, and that means that finally we have documentation that is useful and trustworthy.
Even for experienced Python devs this is a must read!
Affad Shaikh
Dec 11, 2019 rated it it was ok
This is an extremely biased rating. Niether the author or the contents of the book are at issue its more the assigning the book as a part of a curriculum to which students were not even capable of doing simple coding. Struggling through this book and being tested on this material was traumatic and until i work through that trauma this books rating will simply stand where its at.
Eric Casteleijn
Nov 20, 2017 rated it really liked it
A valuable resource for one of the greatest tools in the Python ecosystem. The writing isn't always flawless, but the information is solid, whether you're new to pytest, or have been using it for a while, and are looking to get even more out of it.
Tadas Antanavicius
Dec 26, 2017 rated it really liked it
Useful, practical book if you're looking to start a deep dive into pytest. Having limited experience writing tests in python, this was easy to follow and understand, and seems to have covered all the questions I would have had about getting going with a testing framework.
Jul 18, 2018 rated it it was amazing
The book is easy to follow. It's a perfect guide for developers starting their first steps in Python testing.
Ranjan Lamichhane
Sep 18, 2019 rated it really liked it
Pretty good introduction to TDD, doesn't have much to offer on BDD though! I think the examples could've been better and less redundant. However, overall a great book.
Kingsborough Library
Dec 21, 2017 rated it it was amazing
Very useful!
John Smith
rated it liked it
Jun 06, 2019
Eustaquio Rangel
rated it really liked it
Jan 16, 2018
Jade Costa
rated it liked it
Jul 30, 2019
rated it really liked it
Aug 20, 2018
rated it liked it
Apr 17, 2018
Daniel Gaszewski
rated it really liked it
Mar 23, 2018
rated it it was amazing
Nov 26, 2019
Steve Yu
rated it liked it
Mar 28, 2019
rated it liked it
Feb 25, 2018
rated it really liked it
Aug 07, 2018
Ankit Goel
rated it really liked it
Dec 26, 2019
Louis-Philippe Lebouthillier
rated it really liked it
Aug 22, 2019
Tim Tate
rated it really liked it
Feb 16, 2019
Paul Cutler
rated it it was amazing
Jan 06, 2019
rated it it was amazing
Feb 17, 2018
rated it really liked it
May 04, 2019
rated it it was amazing
Dec 03, 2017
Fuat Ulugay
rated it really liked it
Jun 18, 2019
« previous 1 3 4 next »
There are no discussion topics on this book yet. Be the first to start one »

Readers also enjoyed

  • Fluent Python: Clear, Concise, and Effective Programming
  • Effective Python: 59 Specific Ways to Write Better Python
  • The Hitchhiker's Guide to Python: Best Practices for Development
  • Clean Architecture
  • Refactoring UI
  • Clean Code: A Handbook of Agile Software Craftsmanship
  • Python Tricks
  • Learning Python
  • A Philosophy of Software Design
  • Python Cookbook
  • Permanent Record
  • Deep Learning
  • Python Machine Learning
  • Doing Data Science
  • The 22 Immutable Laws of Marketing: Violate Them at Your Own Risk
  • Mining of Massive Datasets
  • Bayesian Data Analysis
  • Building Machine Learning Systems with Python
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »