* Cantinho Satkeys

Refresh History
  • j.s.: tenham um bom domingo  4tj97u<z
    Hoje às 09:39
  • j.s.: ghyt74 a todos  49E09B4F
    Hoje às 09:38
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 r4v8p xe4s
    03 de Julho de 2026, 04:43
  • cereal killa: try65hytr pessoal,esta calor do karago  r4v8p 43e5r6
    01 de Julho de 2026, 22:01
  • j.s.: try65hytr a todos  49E09B4F
    30 de Junho de 2026, 21:02
  • JP: try65hytr Pessoal  4tj97u<z  2dgh8i k7y8j0 r4v8p
    30 de Junho de 2026, 05:31
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 classic
    26 de Junho de 2026, 05:05
  • cereal killa: ghyt74 e continuaçao bom sao joao  wwd46l0'
    24 de Junho de 2026, 12:16
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 xe4s
    24 de Junho de 2026, 04:05
  • FELISCUNHA: ghyt74   4tj97u<z e bom São João  h7i37
    23 de Junho de 2026, 10:55
  • j.s.: dgtgtr a todos  49E09B4F
    20 de Junho de 2026, 15:51
  • FELISCUNHA: ghyt74   49E09B4F  e bom fim de semana  4tj97u<z
    20 de Junho de 2026, 11:31
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0
    19 de Junho de 2026, 04:41
  • romi: Beleza
    19 de Junho de 2026, 04:28
  • cereal killa: try65hytr pessoal  2dgh8i
    18 de Junho de 2026, 23:28
  • JP: dgtgtr Pessoal  2dgh8i k7y8j0 r4v8p
    18 de Junho de 2026, 19:48
  • joaozinho_bosco: boas tardes.......há quanto tempo
    18 de Junho de 2026, 14:35
  • j.s.: dgtgtr a todos  49E09B4F
    16 de Junho de 2026, 18:24
  • JP: try65hytr Pessoal  2dgh8i k7y8j0 classic
    16 de Junho de 2026, 05:44
  • j.s.: bom fim de semana  4tj97u<z
    13 de Junho de 2026, 11:23

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

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

Online mitsumi

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