Test & Code - Python Testing & Development

132: mocking in Python - Anna-Lena Popkes

Informações:

Synopsis

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 mockspros and cons of mocksdependency injectionadapter patternmock hellmagical universeand much moreSpecial Guest: Anna-Lena Popkes.Links:Personal webpage of Anna-Lena PopkesMagical Universe — Awesome Python features explained using the world of magicTest & Code 102: Cosmic Python, TDD, testing and external dependencies — The episode where Harry Percival discusses mocking.Talk: Harry Percival - Stop Using Mocks (for a while) - YouTube — Talk: Harry Percival - Stop Using Mocks (for a while)unittest.mock AutospeccingMock Hell Talk (45 min version) Edwin Jung - PyCon 2019 Mock Hell Talk (30 min version) - Edwin Jung - PyConDE PyCon EstoniaKI macht Schule!Talk Python #186 : 100 Days of Python in a Magical Universe