Module 8: Testing: TDD with RSpec
Module 8 Overview Video Reading: Textbook Chapter 8All of the material in this module corresponds to Chapter 8 of the ESaaS textbook — the chapter PDF is linked at the top of this page and on the Textbook page. Watch each section’s video, read the matching section of the textbook, then complete the self-check on Gradescope.
Module 8 Self-Check
After finishing the videos and readings, complete the Module 8 Self-Check on Gradescope.
Sections
| Section | Watch | Read |
|---|---|---|
| 8.1 FIRST, TDD, and Red–Green–Refactor | Video | §8.1 |
| 8.2 Anatomy of a Test Case: Arrange, Act, Assert | Video | §8.2 |
| 8.3 Isolating Code: Doubles and Seams | Video | §8.3 |
| 8.4 Stubbing the Internet | Video | §8.4 |
| 8.5 CHIPS: Intro to RSpec — Part 1 (not yet released) | — | Assignment |
| 8.5 CHIPS: Intro to RSpec on Rails (not yet released) | — | Assignment |
| 8.6 Fixtures and Factories | Video | §8.6 |
| 8.7 Coverage Concepts and Types of Tests | Video | §8.7 |
| 8.8 Other Testing Approaches and Terminology | Video | §8.8 |
| 8.10 The Plan-And-Document Perspective on Testing | Video | §8.10 |
Additional textbook readings
These sections have no videos, but are part of the assigned reading:
- §8.0 Concepts and Prerequisites
- §8.11 Fallacies and Pitfalls
- §8.12 Concluding Remarks: TDD vs. Conventional Debugging