Test- Driven Python Development Front Cover

Test- Driven Python Development

  • Length: 300 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2015-03-31
  • ISBN-10: 1783987928
  • ISBN-13: 9781783987924
  • Sales Rank: #2726990 (See Top 100 Books)
Description

Develop high-quality and maintainable Python applications using the principles of test-driven development

About This Book

  • Write robust and easily maintainable code using the principles of test driven development
  • Get solutions to real-world problems faced by Python developers
  • Go from a unit testing beginner to a master through a series of step-by-step tutorials that are easy to follow

Who This Book Is For

This book is intended for Python developers who want to use the principles of test-driven development (TDD) to create efficient and robust applications. In order to get the best out of this book, you should have development experience with Python.

In Detail

This book starts with a look at the test-driven development process, and how it is different from the traditional way of writing code. All the concepts are presented in the context of a real application that is developed in a step-by-step manner over the course of the book. While exploring the common types of smelly code, we will go back into our example project and clean up the smells that we find.

Additionally, we will use mocking to implement the parts of our example project that depend on other systems. Towards the end of the book, we’ll take a look at the most common patterns and anti-patterns associated with test-driven development, including integration of test results into the development process.

Table of Contents

Chapter 1. Getting Started with Test-Driven Development
Chapter 2. Red-Green-Refactor – The TDD Cycle
Chapter 3. Code Smells and Refactoring
Chapter 4. Using Mock Objects to Test Interactions
Chapter 5. Working with Legacy Code
Chapter 6. Maintaining Your Test Suite
Chapter 7. Executable Documentation with doctest
Chapter 8. Extending unittest with nose2
Chapter 9. Unit Testing Patterns
Chapter 10. Tools to Improve Test-Driven Development

To access the link, solve the captcha.