Testing in Python - Jessie Newman (EN)
YouTube Viewers YouTube Viewers
500 subscribers
18 views
0

 Published On Mar 28, 2024

You'll leave this talk able to do the following:
- use Pytest to run your tests
- use unittest.mock to create mocks of objects and functions
- use unittest.patch to replace functions outside of the scope of your test
- inspect the arguments your mocked functions are called with and assert against them
- write asynchronous mocks
- use the parametrize library to run your tests on a variety of different inputs

show more

Share/Embed