The Django Test Driven Development Cookbook - Singapore Djangonauts

Published on: Wednesday, 8 June 2016

Speaker: Martin Brochhaus

Martin is currently working as the CTO of and and is maintaining a codebase with ~30k lines of code and ~12k lines of tests. In this 45 minutes talk, he will show how you can setup your first Django test-suite with py.test, how you can create fixtures with mixer and how you can measure test coverage. He will also show common patterns and snippets that will help you overtake the initial hurdles of getting in to testing: How to speed up tests? How to mock third party libraries? How to test forms and class based views with Django's RequestFactory? How to test admin functions and management commands? How to test Django Rest Framework's API views and serializers?

Event Page:

Produced by Engineers.SG

Help us caption & translate this video!