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 commo
Test- Driven Python Development
โ Scribed by Siddharta Govindaraj
- Publisher
- Packt Publishing
- Year
- 2015
- Tongue
- English
- Leaves
- 300
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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.
What You Will Learn
- Implement the test-driven development process in Python applications
- Fully leverage Python's powerful built-in unittest and doctest modules
- Effectively add features to existing code bases that do not have any tests
- Safely resolve problems with the code and design, without breaking any functionality
- Utilize Python's powerful mock and patch functionality to test complex interactions
- Integrate unit testing into the overall software delivery process
- Use doctest to test code with examples
- Enhance TDD with the nose2 test runner
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.
๐ SIMILAR VOLUMES
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 commo
<p><b>Develop high-quality and maintainable Python applications using the principles of test-driven development</b></p> <h2>About This Book</h2><ul><li>Write robust and easily maintainable code using the principles of test driven development</li><li>Get solutions to real-world problems faced by Pyth
<p><b>Develop high-quality and maintainable Python applications using the principles of test-driven development</b></p> <h2>About This Book</h2><ul><li>Write robust and easily maintainable code using the principles of test driven development</li><li>Get solutions to real-world problems faced by Pyth
This book is for Django developers with little or no knowledge of test-driven development or testing in general. Familiarity with the command line, setting up a Python virtual environment, and starting a Django project are assumed.
<p>By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests <i>before</i> building each part of your app