Oreilly - Understanding Unittest.Mock - 9781484244135
Oreilly - Understanding Unittest.Mock
by Mario Corchero | Released January 2019 | ISBN: 9781484244135


Review the main features of the unittest.mock module with a big dive into how to use it effectively and avoid most of the mistakes beginner and intermediate users fall into when using it. The video includes why mocks are needed, how to use them, and how they work; how to patch code to isolate it from internal dependencies; and different kinds of mocks that fit different scenarios.You will see all this and the common pitfalls with a series of code examples, stepping through the not so well know features of unittest.mock, some of them added only in Python 3.7, that make this library even more powerful.What You Will LearnSee why testing doubles are needed Create testing doubles with unittest.mock while using the libraryUnderstand how patches worksWho This Video Is ForPeople that have used Python and unittest before but aren't experienced with unittest.mock. Show and hide more
  1. Introduction 00:01:01
  2. Creating and Using Mocks 00:04:30
  3. Testing Doubles 00:04:30
  4. Using Unittest.mock 00:08:29
  5. Creating Complex Mocks 00:06:25
  6. Validating Calls 00:06:56
  7. Cresting Spies 00:04:07
  8. Restricted 00:10:07
  9. Patching Internal Dependencies 00:07:07
  10. Patch 00:07:07
  11. Understanding Patch 00:09:43
  12. Patching Objects and Dicts 00:10:36
  13. Other Ways to Patch 00:06:49
  14. Mock and Pytest 00:07:02
  15. Show and hide more

    Oreilly - Understanding Unittest.Mock


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.


SermonBox - Seasonal Collection

SermonBox - The Series Pack Collection

Top Rated News

  • Christmas Material
  • Laser Cut & Print Design Elements Bundle - ETSY
  • Daz3D - All Materials - SKU 37000-37999
  • Cgaxis - All Product - 2019 - All Retail! - UPDATED!!!
  • DigitalXModels Full Collections
  • Rampant Design Tools Full Collections Total: $4400
  • FilmLooks.Com Full Collection
  • All PixelSquid Product
  • The Pixel Lab Collection
  • Envato Elements Full Sources- 3200+ Files
  • Ui8.NET Full Sources
  • The History of The 20th Century
  • The Dover Collections
  • Snake Interiors Collections
  • Inspirational Collections
  • Veer Fancy Collections
  • All Ojo Images
  • All ZZVE Collections
  • All Sozaijiten Collections
  • All Image Broker Collections
  • Shuterstock Bundle Collections
  • Tattoo Collections
  • Blend Images Collections
  • Authors Tuorism Collections
  • Motion Mile - Big Bundle
  • PhotoBacks - All Product - 2018
  • Dekes Techniques - Photoshop & Illustrator Course - 1 to 673
Telegram GFXTRA Group
Udemy - Turkce Gorsel Ogrenme Setleri - Part 2
Videohive Wow Pack Series


rss