* Cantinho Satkeys

Refresh History
  • j.s.: tenham um excelente domingo  4tj97u<z 4tj97u<z
    27 de Março de 2026, 21:10
  • j.s.: try65hytr a todos  49E09B4F
    27 de Março de 2026, 21:09
  • JPratas: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    27 de Março de 2026, 05:50
  • j.s.: try65hytr a todos  49E09B4F
    24 de Março de 2026, 18:55
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  49E09B4F
    22 de Março de 2026, 11:36
  • j.s.: tenham um ex celente fim de semana  4tj97u<z 4tj97u<z
    20 de Março de 2026, 18:34
  • j.s.: dgtgtr a todos  49E09B4F
    20 de Março de 2026, 18:34
  • FELISCUNHA: ghyt74  pessoal   4tj97u<z
    19 de Março de 2026, 11:14
  • j.s.: try65hytr a todos  49E09B4F
    16 de Março de 2026, 19:20
  • FELISCUNHA: ghyt74  e bom fim de semana  4tj97u<z
    14 de Março de 2026, 11:15
  • JPratas: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    13 de Março de 2026, 05:26
  • FELISCUNHA: ghyt74  pessoal   4tj97u<z
    10 de Março de 2026, 11:00
  • j.s.: dgtgtr a todos  49E09B4F 49E09B4F
    09 de Março de 2026, 17:12
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    07 de Março de 2026, 11:37
  • JPratas: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    06 de Março de 2026, 05:31
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    04 de Março de 2026, 10:47
  • Kool.king1: french
    02 de Março de 2026, 22:47
  • j.s.: dgtgtr a todos  49E09B4F
    01 de Março de 2026, 16:54
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  101041
    01 de Março de 2026, 10:42
  • cereal killa: try65hytr pessoal e bom fim semana de solinho  535reqef34 r4v8p
    28 de Fevereiro de 2026, 20:31

Autor Tópico: Improve Your Tests With the Python Mock Object Library  (Lida 278 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Online mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 130689
  • Karma: +0/-0
Improve Your Tests With the Python Mock Object Library
« em: 22 de Março de 2021, 09:47 »

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!


Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction