132: mocking in Python - Anna-Lena Popkes

Using mock objects during testing in Python.
Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing. 
We discuss:
  • the different styles of using mocks
  • pros and cons of mocks
  • dependency injection
  • adapter pattern
  • mock hell
  • magical universe
  • and much more
Special Guest: Anna-Lena Popkes.

Links:

Help support the show AND learn pytest: 
  • The Complete pytest course is now a bundle, with each part available separately.
  • Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

★ Support this podcast on Patreon ★

Creators and Guests

Brian Okken
Host
Brian Okken
Software Engineer, also on Python Bytes and Python People podcasts
132: mocking in Python - Anna-Lena Popkes
Broadcast by