PLAY PODCASTS
132: mocking in Python - Anna-Lena Popkes
Episode 132

132: mocking in Python - Anna-Lena Popkes

Test & Code

September 28, 202038m 9s

Audio is streamed directly from the publisher (test-and-code.sfo3.cdn.digitaloceanspaces.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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:




Topics

software testingmock