Last night Robbie Clarken presented a great talk about Mocking and how it fits in with testing in general. There were a few questions he had over email about how mypy could be used in addition to Mocking to get better coverage of issues with parameters in function calls being tested. Seeing as this is helping him with a real process we agreed that there's value in blogging this so a wider audience can get exposure to these techniques.Published on July 20th, 2018 by Janis Lesinskis.
Ever needed to limit how long your unit tests can run for? Here's an easy way to do that with pytest. There's a package called pytest…Published on June 23rd, 2018 by Janis Lesinskis.