We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode 132: mocking in Python - Anna-Lena Popkes

132: mocking in Python - Anna-Lena Popkes

2020/9/28
logo of podcast Test & Code

Test & Code

Shownotes Transcript

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.

Sponsored By:

Links: