Completed
Starting with a test for empty list of containers.
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Faking It - The Art of Testing Using Verified Fakes
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Introduction • Problems (5) • Solution (15) . Questions (5)
- 3 Problem 2: Inaccurate mocks
- 4 Nova Docker (for example)
- 5 Can we do better?
- 6 A "verified" fake A class that
- 7 So let's make a start
- 8 Where is the docker-py API defined?
- 9 A public testtools module
- 10 A Tests Mixin
- 11 And now we can start fleshing out the interface
- 12 Starting with a test for empty list of containers.
- 13 Test, write code, refactor, repeat
- 14 Complications
- 15 Test public APIs not implementation details
- 16 Further Reading
- 17 Mimic
- 18 Eliot
- 19 Summary