Proficiency at Python testing now possible with Packt's new cookbook

June 2011 | Cookbooks, Open Source

Python Testing Cookbook is a new addition to Packt's Python library aimed at Python programmers and developers, teaching them to write better tests. Written by Greg L. Turnquist, this book is a collection of code recipes containing step-by-step directions on how to install or build different types of Python test tools to solve different problems.

 

Python is a programming language that lets one work more quickly and integrate their systems more effectively. The Python unit testing framework, originally referred to as "PyUnit" and now known as unittest, is a framework that makes it easier for programmers to write automated test suites efficiently in Python.

This practical cookbook covers lots of test styles including unit-level, test discovery, doctest, BDD, acceptance, smoke, and load testing. Readers will learn to use popular continuous integration systems like Jenkins (formerly known as Hudson) and TeamCity to automatically test their code upon checking in. The 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.

Using Python Testing Cookbook, readers will learn to use Nose to discover tests and write Nose plugins to control these discovered tests plus produce test reports. Developers will be able to write testable stories using tools like doctest, mocks, Lettuce, Should DSL and more. By the end of this book, one will be proficient in many test tactics and will be ready to apply them to new applications as well as to legacy ones.

Packed with lots of test examples, this will become a go-to book for writing good tests even for programmers and developers with a basic understanding of Python and Python testing. No prior experience of automated testing is required. This book is out now and available from Packt. For more information please visit: http://www.packtpub.com/python-testing-cookbook/book.

 


Python Testing Cookbook
 Over 70 simple but incredibly effective recipes for taking control of automated testing using powerful Python testing tools.

For more information, please visit: http://www.packtpub.com/python-testing-cookbook/book

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software