0/6 уроков (0%)
– из 6
Dance with Shadows - Stubs, Patch and Mock
YouTube·EuroPython
Explore the world of fake objects in this 32-minute conference talk from EuroPython 2022. Dive into key factors for using fake objects, their characteristics, and potential dangers. Learn patching techniques, common mistakes, and scope considerations. Discover inverse dependency as an alternative to patching. Master mock properties, including return values, side effects, and specs, while understanding their use as spy functions and wrappers. Gain insights into asserting on callings and explore specialized mocking libraries like pyvcr and moto for web development.