Python Testing Cookbook, 2nd Edition

Easy solutions to test your Python projects using test-driven development and Selenium



Bookstore > Books > Python Testing Cookbook, 2nd Edition

Price$35.99 - $44.99
Rating
AuthorsGreg L. Turnquist, Bhaskar N. Das
PublisherPackt Publishing
Published2018
Pages396
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101787122522
ISBN-139781787122529
EBook Hardcover Paperback

Automated testing is the best way to increase efficiency while reducing the defects of software testing. It helps find bugs in code easily and at an early stage so that they can be tackled efficiently. This book delves into essential testing concepts used in Python to help you build robust and maintainable code.

Python Testing Cookbook begins with a brief introduction to Python's unit testing framework to help you write automated test cases. You will learn how to write suitable test sets for your software and run automated test suites with Nose. You will then work with the unittest.mock library, which allows you to replace the parts of your system that are being tested with mock objects and make assertions about how they have been used. You will also see how to apply Test-driven Development (TDD) and Behavior-driven Development (BDD) and how to eliminate issues caused by TDD. The book explains how to integrate automated tests using Continuous Integration and perform smoke/load testing. It also covers best practices and will help you solve persistent testing issues in Python. The book concludes by helping you understand how doctest works and how Selenium can be used to test code efficiently.





4 5 2

Similar Books


Python Cookbook, 2nd Edition

Python Cookbook, 2nd Edition

by Alex Martelli, Anna Ravenscroft, David Ascher

Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. It is now being used by an increasing number of major organizations, including NASA and Google.Updated for Python 2.4, The Python Cookbook, 2nd Edition offers a wealt...

Price:  $9.15  |  Publisher:  O'Reilly Media  |  Release:  2005

Python Geospatial Development, 2nd Edition

Python Geospatial Development, 2nd Edition

by Erik Westra

Geospatial development links your data to places on the Earth's surface. Writing geospatial programs involves tasks such as grouping data by location, storing and analyzing large amounts of spatial information, performing complex geospatial calculations, and drawing colorful interactive maps. In order to do this well, you'll need appropri...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2013

Java Cookbook, 2nd Edition

Java Cookbook, 2nd Edition

by Ian F. Darwin

You have a choice: you can wade your way through lengthy Java tutorials and figure things out by trial and error, or you can pick up Java Cookbook, 2nd Edition and get to the heart of what you need to know when you need to know it.With the completely revised and thoroughly updated Java Cookbook, 2nd Edition, Java developers like you will ...

Price:  $2.40  |  Publisher:  O'Reilly Media  |  Release:  2004

Pro Python System Administration, 2nd Edition

Pro Python System Administration, 2nd Edition

by Rytis Sileika

Pro Python System Administration, 2nd Edition explains and shows how to apply Python scripting in practice. It will show you how to approach and resolve real-world issues that most system administrators will come across in their careers. This book has been updated using Python 2.7 and Python 3 where appropriate. It also uses various new a...

Price:  $46.81  |  Publisher:  Apress  |  Release:  2014

Beginning Python Games Development, 2nd Edition

Beginning Python Games Development, 2nd Edition

by Harrison Kinsley, Will McGugan

Learn how to create compelling games using Python and the PyGame games development library. Beginning Python Games Development, 2nd Edition will teach you how to create visuals, do event handling, create 3D games, add media elements, and integrate OpenGL into your Python game.In this update to the first ever book to cover the popular open...

Price:  $44.99  |  Publisher:  Apress  |  Release:  2015

Linux Cookbook, 2nd Edition

Linux Cookbook, 2nd Edition

by Michael Stutz

The Linux Cookbook, 2nd Edition is your guide to getting the most out of Linux. Organized by general task (such as working with text, managing files, and manipulating graphics), each section contains a series of step-by-step recipes that help you to get your work done quickly and efficiently, most often from the command line. Nearly 50 pe...

Price:  $17.60  |  Publisher:  O'Reilly Media  |  Release:  2004

Linux Shell Scripting Cookbook, 2nd Edition

Linux Shell Scripting Cookbook, 2nd Edition

by Shantanu Tushar, Sarath Lakshman

The shell remains one of the most powerful tools on a computer system - yet a large number of users are unaware of how much one can accomplish with it. Using a combination of simple commands, we will see how to solve complex problems in day to day computer usage.Linux Shell Scripting Cookbook, 2nd Edition will take you through useful real...

Price:  $26.99  |  Publisher:  Packt Publishing  |  Release:  2013

Sencha Touch Cookbook, 2nd Edition

Sencha Touch Cookbook, 2nd Edition

by Ajit Kumar

Sencha Touch is one of the most popular HTML5 and JavaScript frameworks for building touch-based mobile devices. Using Sencha Touch, you can create applications for touch mobile devices with ease, and once created, the same application works on multiple platforms - iOS, Android, Blackberry - without having to change anything.Sencha Touch ...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2013