Real Python - Improve Your Tests With the Python Mock Object Library

"softddl.org"
22-03-2021, 18:23
Rating:
0
0 vote


  • Real Python - Improve Your Tests With the Python Mock Object Library
    MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
    Genre: eLearning | Language: English | Duration: 31 Lessons (1h 29m) | Size: 280 MB
    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.



Real Python - Improve Your Tests With the Python Mock Object Library
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 31 Lessons (1h 29m) | Size: 280 MB
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!
Homepage
https://realpython.com/courses/python-mock-object-library/

Buy Premium From My Links To Get Resumable Support,Max Speed & Support Me


Links are Interchangeable - No Password - Single Extraction
 
Comments
The minimum comment length is 50 characters. comments are moderated
There are no comments yet. You can be the first!
Download free » Tutorials » Real Python - Improve Your Tests With the Python Mock Object Library
Copyright holders