Python Unittesting: Using Test Double or Mock

preview_player
Показать описание
Python Unittesting Tutorial series: Using Test Double or Mock
Test Double or Mock is used during unittesting for imitating an actual class or method. It is used in scenarios where it is costly or hard to use the actual method or class.
The unreal or Mock class will help us execute our flow of tests and make our tests faster and easier to write.
In this video we will see how Mock can be used in our calculator tests methods.
Thanks and Happy Learning!
Please subscribe for more such videos.

--- The full Python Unit Testing videos:

--- Python Testing Course in Udemy:
Рекомендации по теме