Fake It Till You Mock It! Using Mocks to Write Better Tests


Details
Join Silicon Valley based python expert Moshe Zadka as he follows up on his previous training course to provide comprehensive training on mocks in an engaging FREE 2-hour training session. Writing quality unit tests is a skillset that every software engineer should have in their arsenal.
Here's the 5-star review from Moshe’s previous training:
This was amazing! Great simple introduction to pytest in Python.
Including hands on exercises was great to ensure that we understood the content.
- John J
Domino Data Lab
Comprehensive intro to unit testing in python
- Aaron Goodman
I liked this training, it was a great breakdown of how to get started quickly doing python unit testing. I left with some practical knowledge and a deeper understanding of how to unit test in python. Moshe was a great resource.
- Logan
Teacher taught me essential skills on testing in python, including how/why to use pytest and how to use mockups effectively
- Fred Pearce
Interactive testing using the Jupyter notebook is a great way to keep a remote group synced up on examples and exercises. The instructor was able to share methodology, provide guidance, and give feedback very efficiently using text chat and voice.
- Sean Summers
Nice beginning training on testing. Looking forward to part 2 :-)
- Rich LaMarche
Here's the outline of the virtual training event:
The Course Outline:
- Introduction (30m)
- How to use Jupyter and pytest to learn how to test
- What are mocks
- How to use them
- Tuning Mock Behavior: mock.side_effects (30m)
- Different values using sequences
- Raising exceptions from mocks
- Implementing sophisticated behavior
- Break (15m)
- Checking a Mock's input (30m)
- Checking if a Mock has been called
- Checking arguments of a call
- Checking call history
- Summary and Q&A (15m)
How to Attend This Amazing Free 2-Hour Training 😊?
Signup up for the event here: https://www.eventbrite.com/e/fake-it-till-you-mock-it-using-mocks-to-make-your-tests-better-tickets-113164676594

Fake It Till You Mock It! Using Mocks to Write Better Tests