Slide 27
Slide 27 text
MOCK
TESTING TOOLS
• Benefits:
• Mature, well maintained, frequently updated
• Helps excise pesky collaborators
• So valuable it was added to the standard library in Python 3.4
• Actually lives as unittest.mock in Python 3.4+
• Can patch out objects, functions, etc.
• Works with unittest, pytest, whatever