Full description not available
T**Y
Very useful
I really enjoyed this book. It covers some very useful tools needed to start testing software in Python. Gives a great overview of Nose and Py.Test. I think it's important to note that this book later evolves more into "how to test a web application" by focusing on a Flask project, so if you're new to Flask, make sure to browse the docs and check out a YouTube video or two. Otherwise, I would definitely recommend this book to anyone looking to get into TDD, BDD and unittesting.
J**R
Testing Python review
This book covers the art of software testing in Python. I found the book really useful. It contains clear, concise and practical information related to testing work in the Python community.The book introduces relevant information and updated references on unit testing, testable documentation, test driven development (TDD) and behavior driven development (BDD), using the proper Python tools (Nose, PyTest, Pylint, etc) and automation infrastructure (Paver/Jenkins)The author makes a great job commenting how all parts and concepts fit together (agile development, acceptance tests, Gherkin syntax, etc). He also covers performance testing (JMeter) and profiling (cProfile). Aspects related to cloud deployment/testing are mentioned together with concrete examples too.As a side note to the previous comments, the book doesn't cover functional testing and property-based testing. I guess those testing aspects would add a new perspective on productivity and efficiency related to functional Python.Reading the book you will find testing techniques and tools that are in mainstream use within the Python community. Great book.
D**N
Its a must have book if you use Python and write tests
No snake on cover?Way to go. You will need humor.Have not found a book that explains better how to write tests and test classes, starting with unit tests.Fail first and then test more.Frobnicate.
D**N
Good, timely coverage of agile, TDD, BDD, with minor problems
I found the book itself to be motivational and well written, helping me, an old fart, experienced programmer, understand some of the pieces of agile programming with Python.Like many computer books on Kindle, the code isn't formatted well, but you just learn to work through that.My only complaint is Sale's choice of "lettuce" for BDD. I tried to get lettuce working with Python 3 and ran into a number of problems, and the more I dug, the more I found that lettuce is problematic for a lot of people, especially when working with Python 3. I am now moving on to "behave" for BDD, afraid that "lettuce" is a bit too much of a black hole. I also think that in his treatment of BDD (and even TDD), going with more of a "Hello, World" type of example at the beginning would have made things more understandable.All in all, though, it's a timely book, and takes the reader through important agile processes. I gave it only three starts because of the code formatting, and the minor issues described above.
J**N
Wonderful Book
This is a wonderful review of testing Python code. It starts simple and builds in a very clear way. If you are interested in testing Python code, this book will provide a great overview of the field and also give in-depth help.
A**I
Five Stars
Good book
J**O
Useless today, legacy libs and tools
This book only covers Python 2.7. For BDD it uses "Lettuce" which is stalled in python 2.7, so those examples are useless today. Lettuce has been replaced with Aloe or other packages so the code is not valid. It was very disapointing to realize the book is useless as of now.
J**J
Good start but lacks depth.
The writing is good. But there is little depth in lots of areas. The author should have either skipped these or written more. One example is the chapter on BDD. It aims to introduce and compare two BDD frameworks but neither is introduced in enough detail to provide a meaningful introduction much less a comparison. It's about like a QuickStart guide throughout many chapters. Unfortunately this is really hard to make useful. Many test environments require some customization and integrating multiple testing frameworks is usually not straight forward as many are written as if they exist in a vacuum.
M**A
Good book for automation and test engineers
Gives you a complete picture of Automation and testing environment using python.
N**G
Es wäre lieb, mehr über mock zu diskutieren
Über mock wurde relativ wenig gehandelt.Aber, immerhin, es ist das best buch über Unit-Test von Python ich gelesen habe.
T**S
Extremely relevant for modern agile Python development shops
TDD, BDD, acceptance testing, test automation, continuous integration - none of these are new concepts: however, not much has been written about these topics in the Python space. Fortunately, Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing is an excellent book that helps plug that gap.I have been using the topics covered in this book for several years now, but from a Java angle. I joined a new company where a lot of the production stack was written in Python. Naturally, I looked for examples on how to apply the same techniques I'd learned during my Java past in the Python world. After reading several glowing reviews of Testing Python, I decided to purchase a copy for myself.The book itself is a light and digestible read - dipping in and out of chapters is straightforward. I was delighted with the way the author presents the topics in a practical fashion with easy-to-understand examples that can be tried by the reader at home if needed. Would definitely recommend this book to Python developers who are looking to apply these lean techniques to their work.
M**I
Great book
Amazing book, simple - accurate, highly recommended.
P**1
Useful. Some examples broken
Overall, the book was useful (it certainly clarified some aspects of mock and patch which had been puzzling me).Some of the examples don't work if just typed in and run as presented. It could be convincingly argued that debugging and fixing them is excellent practice; however, one would have thought that the examples in a book on testing would have been tested!
Trustpilot
1 week ago
2 weeks ago