Getting started with testing using Pytest and Mock - PythonSG Meetup

Published on: Thursday, 26 March 2015

Speaker: Gabe Hollombe, Neo Innovation

Pytest is a great alternative testing framework to unittest from the standard library. It often lets you get the same tests written with far fewer lines of code, and it has a cool dependency injection system to help you share common test dependencies while keeping your tests understandable. I'll tell you all about how to get basic unit testing done, and I'll show you how to use Voidspace's Mock library to test collaborations between your objects, too.

Gabe is a full-stack senior engineer at Neo Innovation, with a thirst for knowledge and a passion for sharing what he's learned. He's had the pleasure of speaking on four different continents about JavaScript, Ruby, Vim, and HTML5 Game development.

Produced by Engineers.SG

Help us caption & translate this video!