Video description
- See why testing doubles are needed
- Create testing doubles with unittest.mock while using the library
- Understand how patches works
Table of contents
- Introduction 00:01:01
- Creating and Using Mocks 00:04:30
- Testing Doubles 00:04:30
- Using Unittest.mock 00:08:29
- Creating Complex Mocks 00:06:25
- Validating Calls 00:06:56
- Cresting Spies 00:04:06
- Restricted 00:10:07
- Patching Internal Dependencies 00:07:07
- Patch 00:07:07
- Understanding Patch 00:09:43
- Patching Objects and Dicts 00:10:36
- Other Ways to Patch 00:06:49
- Mock and Pytest 00:07:02
Product information
- Title: Understanding Unittest.Mock
- Author(s):
- Release date: January 2019
- Publisher(s): Apress
- ISBN: 9781484244135
You might also like
video
Amazon Web Services AWS LiveLessons 2nd Edition
More Than 17 Hours of Video Instruction More than 17 hours of video instruction on Amazon …
video
Elegant Automation Frameworks with Python and Pytest
Leverage pytest's fast, scalable, and professional-grade framework design to build and run automated test suites like …
video
The Complete Python Course
Go from beginner to expert in Python by building projects. The best investment for your Python …
video
Python Beyond The Basics - Object Oriented Programming
In this Python Beyond the Basics - Object-Oriented Programming training course, expert author David Blaikie will …