Szczegóły ebooka

Test-Driven Python Development. Develop high-quality and maintainable Python applications using the principles of test-driven development

Test-Driven Python Development. Develop high-quality and maintainable Python applications using the principles of test-driven development

Siddharta Govindaraj

Ebook
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.
  • 1. Getting started with unit testing
  • 2. Red-Green-Refactor: The TDD Cycle
  • 3. Code smells and refactoring
  • 4. Using mock objects to test interactions
  • 5. Working with legacy code
  • 6. Keeping your tests maintainable
  • 7. Using Doctest to test code with examples
  • 8. Extending unittest with nose2
  • 9. Unit Testing Patterns
  • 10. Integrating tests into the development process
  • 11. Answers to Exercises
  • 12. Working with older Python versions
  • Tytuł: Test-Driven Python Development. Develop high-quality and maintainable Python applications using the principles of test-driven development
  • Autor: Siddharta Govindaraj
  • Tytuł oryginału: Test-Driven Python Development. Develop high-quality and maintainable Python applications using the principles of test-driven development
  • ISBN: 9781783987931, 9781783987931
  • Data wydania: 2015-04-29
  • Format: Ebook
  • Identyfikator pozycji: e_3ca5
  • Wydawca: Packt Publishing