Faking It - The Art of Testing Using Verified Fakes

Faking It - The Art of Testing Using Verified Fakes

EuroPython Conference via YouTube Direct link

So let's make a start

7 of 19

7 of 19

So let's make a start

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. 1 Intro
  2. 2 Introduction • Problems (5) • Solution (15) . Questions (5)
  3. 3 Problem 2: Inaccurate mocks
  4. 4 Nova Docker (for example)
  5. 5 Can we do better?
  6. 6 A "verified" fake A class that
  7. 7 So let's make a start
  8. 8 Where is the docker-py API defined?
  9. 9 A public testtools module
  10. 10 A Tests Mixin
  11. 11 And now we can start fleshing out the interface
  12. 12 Starting with a test for empty list of containers.
  13. 13 Test, write code, refactor, repeat
  14. 14 Complications
  15. 15 Test public APIs not implementation details
  16. 16 Further Reading
  17. 17 Mimic
  18. 18 Eliot
  19. 19 Summary

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.