Notes

Author: 👤 Harry J.W. Percival

Type: #book

Genres: #comp-sci #webdev


Test Driven Development with Python

1 Getting Django Set Up Using a Functional Test

2 Extending our Functional Test Using the unittest Module

3 Testing a Simple Home Page with Unit Tests

4 What Are We Doing with All These Tests? (And, Refactoring)

5 Saving User Input: Testing the Database

6 Improving Functional Tests: Ensuring Isolation and Removing Voodoo Sleeps

7 Working Incrementally

8 Prettification: Layout and Styling, and What to Test About It

9 Testing Deployment Using a Staging Site

11 Automating Deployment with Fabric

12 Splitting Our Tests into Multiple Files, and a Generic Wait Helper

13 Validation at the Database Layer

14 A Simple Form

15 More Advanced Forms

16 Dipping Our Toes, Very Tentatively, into JavaScript

18 User Authentication, Spiking, and De-Spiking

19 Using Mocks to Test External Dependencies or Reduce Duplication

20 Test Fixtures and a Decorator for Explicit Waits

22 Finishing "My Lists": Outside-In TDD

23 Test Isolation, and "Listening to Your Tests"

26 Fast Tests, Slow Tests, and Hot Lava