* Cantinho Satkeys

Refresh History
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    26 de Agosto de 2026, 10:51
  • JP: try65hytr Pessoal 4tj97u<z 2dgh8i k7y8j0 classic
    25 de Agosto de 2026, 04:05
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    21 de Agosto de 2026, 11:28
  • JP: try65hytr Pessoal 4tj97u<z 2dgh8i k7y8j0 classic
    21 de Agosto de 2026, 05:22
  • JP: try65hytr Pessoal 4tj97u<z 2dgh8i k7y8j0 43e5r6
    17 de Agosto de 2026, 04:09
  • j.s.: dgtgtr a todos  49E09B4F
    15 de Agosto de 2026, 15:07
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    15 de Agosto de 2026, 11:45
  • Alberto: Revistas
    15 de Agosto de 2026, 05:32
  • JP: try65hytr Pessoal 4tj97u<z 2dgh8i k7y8j0
    14 de Agosto de 2026, 05:05
  • j.s.: try65hytr try65hytr a todos  49E09B4F 49E09B4F
    11 de Agosto de 2026, 20:26
  • JP: try65hytr Pessoal 2dgh8i k7y8j0 r4v8p
    11 de Agosto de 2026, 04:30
  • FELISCUNHA: ghyt74   4tj97u<z  votos de um santo domingo para todo o auditório  101041
    09 de Agosto de 2026, 11:37
  • cereal killa: ghyt74 e bom fim de semana com muita chupadelas  r4v8p p0i8l
    08 de Agosto de 2026, 11:35
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana   4tj97u<z
    07 de Agosto de 2026, 11:56
  • JP: try65hytr Pessoal  2dgh8i k7y8j0 43e5r6
    07 de Agosto de 2026, 05:31
  • j.s.: dgtgtr a todos  49E09B4F 49E09B4F
    05 de Agosto de 2026, 13:50
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    05 de Agosto de 2026, 11:22
  • JP: dgtgtr Pessoal  4tj97u<z 2dgh8i k7y8j0
    03 de Agosto de 2026, 18:43
  • FELISCUNHA: dgtgtr   49E09B4F  e bom fim de semana  4tj97u<z
    01 de Agosto de 2026, 12:21
  • JP: try65hytr A Todos  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    31 de Julho de 2026, 05:35

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

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

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 134902
  • 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