Python Testing Cookbook

Python Testing Cookbook

by Greg L. Turnquist

348 pages· 2011· ISBN 9781849514675

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About
Annotation Are you looking at new ways to write better, more efficient tests? Are you struggling to add automated testing to your existing system? The Python unit testing framework, originally referred to as "PyUnit" and now known as unittest, is a framework that makes it easier for you to write automated test suites efficiently in Python. This book will show you exactly how to squeeze every ounce of value out of automated testing. The Python Testing Cookbook will empower you to write tests using lots of Python test tools, code samples, screenshots, and detailed explanations. By learning how and when to write tests at every level, you can vastly improve the quality of your code and your personal skill set. Packed with lots of test examples, this will become your go-to book for writing good tests. This practical cookbook covers lots of test styles including unit-level, test discovery, doctest, BDD, acceptance, smoke, and load testing. It will guide you to use popular Python tools effectively and discover how to write custom extensions. You will learn how to use popular continuous integration systems like Jenkins (formerly known as Hudson) and TeamCity to automatically test your code upon check in. This book explores Python's built-in ability to run code found embedded in doc strings and also plugging in to popular web testing tools like Selenium. By the end of this book, you will be proficient in many test tactics and be ready to apply them to new applications as well as legacy ones. A practical guide, this cookbook will ensure you fully utilize Python testing tools to write tests efficiently.

Discuss Python Testing Cookbook with other readers

Join or start a book club for Python Testing Cookbook on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Python Testing Cookbook?

Sign up free on Readfeed, then browse public clubs or start your own club with Python Testing Cookbook as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Python Testing Cookbook with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Python Testing Cookbook with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.