Next up
Using unittest.mock
Continuing in
Understanding Unittest.Mock
This is a preview of subscription content
Your browser needs to be JavaScript capable to view this video
Try reloading this page, or reviewing your browser settings
This segment introduces the base of the code that we want to tests and creates a test to verify it. As the test has a dependency, we create manually a testing double to isolate it.
Keywords
- mock
- create
- test
- verify
- dependency
- manual
- double
- isolate
About this video
- Author(s)
- Mario Corchero
- First online
- 25 December 2018
- DOI
- https://doi.org/10.1007/978-1-4842-4413-5_1
- Online ISBN
- 978-1-4842-4413-5
- Publisher
- Apress
- Copyright information
- © Mario Corchero 2019