The third edition of this reliable guide highlights the practical advantages of test-driven development (TDD) using Python and describes how to develop a real web application. You will learn how to write and run tests before building each part of your application, then develop the minimal code required to pass these tests. The result? Clean, working code.
In this process, author Harry Percival teaches software and web developers the basics of Django, Selenium, Git, JavaScript, and Mock libraries, along with modern web development techniques. This book – updated for Python 3.14 and Django 4 – clearly demonstrates how TDD encourages simple designs and inspires confidence.
Fully revised, this third edition covers:
- The TDD workflow, including the test/code cycle and refactoring
- Unit tests for classes and functions, and functional tests for user interactions within the browser
- Mock objects and the advantages and disadvantages of isolated versus integrated testing
- Testing and automation of deployments with a staging server
- Tests applied to third-party plugins integrated into your website
- Automated tests using a continuous integration environment
- Using TDD to build a REST API with a JavaScript frontend interface
Pages: 722
Manufacturer
- Publisher
- O'Reilly Media
- Type
- Technology, Construction & Building Works, Computers - Informatics, Internet & Social Media
- Language
- English
- Subtitle
- -
- Cover
- Soft
- Number of Pages
- 722
- Release Date
- 8/2025
- Publication Date
- 2025
- Dimensions
- -
- ISBN-13
- 9781098148713
Important information
Specifications are collected from official manufacturer websites. Please verify the specifications before proceeding with your final purchase. If you notice any problem you can report it here.