Improve Your Tests With the Python Mock Object Library


Improve Your Tests With the Python Mock Object Library
English | Size: 358.53 MB
Genre: eLearning

When you’re writing robust code, tests are essential for verifying that your application logic is correct, reliable, and efficient. However, the value of your tests depends on how well they demonstrate these criteria. Obstacles such as complex logic and unpredictable dependencies make writing valuable tests difficult. The Python mock object library, unittest.mock, can help you overcome these obstacles.

By the end of this course, you’ll be able to:

Create Python mock objects using Mock
Assert that you’re using objects as you intended
Inspect usage data stored on your Python mocks
Configure certain aspects of your Python mock objects
Substitute your mocks for real objects using patch()
Avoid common problems inherent in Python mocking

You’ll begin by seeing what mocking is and how it will improve your tests!

nitroflare.com/view/8EFD3CAA06C98B7/ImproveYourTestsWiththePythonMockObjectLibrary.part1.rar
nitroflare.com/view/4DFAEC2966B22A8/ImproveYourTestsWiththePythonMockObjectLibrary.part2.rar

rapidgator.net/file/a382ce382b6f17e48f6f0ef05d70d17f/ImproveYourTestsWiththePythonMockObjectLibrary.part1.rar.html
rapidgator.net/file/ecb532a1393c60690677f77089e16c5f/ImproveYourTestsWiththePythonMockObjectLibrary.part2.rar.html

If any links die or problem unrar, send request to
forms.gle/e557HbjJ5vatekDV9

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.