Difficulty Level
Intermediate
Completion Time
8h48m
Language
English
About Book
Who Is This Book 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.
Test-Driven Python Development
- About Book
- Who Is This Book For?
- Book Content
Book content
chapters • 8h48m total length
Getting started with unit testing
Red-Green-Refactor: The TDD Cycle
Code smells and refactoring
Using mock objects to test interactions
Working with legacy code
Keeping your tests maintainable
Using Doctest to test code with examples
Extending unittest with nose2
Unit Testing Patterns
Integrating tests into the development process
Answers to Exercises
Working with older Python versions
Related Resources
Access Ready-to-Use Books for Free!
Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!