Should I mock or should I not?
a talk by Miro Hrončok
Mocking. Excellent thing. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. That makes your life easier when writing tests. Until it makes your live miserable. Which practices with mocking are considered good, which are considered bad and what shall you never do or you will die a horrible death? How to avoid mocking? And should you try to avoid it at all cost? All you wanted to ask about the pros and cons of mocking. Demos!
This talk is aimed at advanced Pythonistas. (While it might be interesting for beginners we recommend them to choose another talk.)
Miro Hrončokhroncok hroncok
Miro Hrončok is a free software engineer at Red Hat and also a teacher at FIT ČVUT (Faculty of Information Technology in Prague).
Miro loves writing stuff in Python and also writes a lot of tests. He also loves to teach Python and testing to others.
Miro likes to think he helps to create Fedora, while sometimes he's actually breaking it.
All speakers and talks