PyCon, the gathering for the community using and developing the open-source Python programming language. This is the second year of the PyCon Pune where the community will meet for two days of talks and working on upstream projects in two days of dev sprint. CFP ends on 15th September AoE.

Website: https://pune.pycon.org/2018/

Note to submitters: The talks will be selected by a team. We will not count the public votes.

Hosted by

PyCon Pune 2017 more

Kapil Bakshi

@kapilbakshi

Production Level Test Driven Development In Django

Submitted Sep 14, 2017

From writing precise unit tests to writing functional tests, from testing views, forms and rest apis to testing migrations, knowing about mocking, code coverage and important stuff on Continuous Integration.Come one,Come All and learn the magical and secret powers of TDD in Django!

Outline

** 1.) Using Django Test Client to **
-> Test Api Requests and Responses
-> Persistent states

** 2.) Different Test Case Classes In Django **
-> SimpleTestCase
-> TransactionTestCase
-> LiveServerTestCase
-> Production Level Examples of each

** 3.) Testing Other Components **
-> Views
-> Forms
-> Models
-> Admins
-> Migrations

** 4.) Mocking **
-> When ?
-> How ?
-> When not ?

** 5.) Code coverage**

** 6.) Continuous Integration using Jenkins**

Speaker bio

Kapil Bakshi is a very passionate techie with an aim to embrace technology, imbibe every bit of it, transcend all the barriers and turn ideas into reality. His experience spans across edtech, fintech and logistics sectors where he has developed things from scratch taking them to a level where they have scaled drastically and have become a brand in their respective domains.

He is currently working at BlackBuck which is redefining the logistics landscape of India, making it reliable and efficient. Kapil is playing an important role there to improve quality of all apps, doing optimisations and helping the company scale to go much beyond.

He is a full stack developer and many times single-handedly built complex features which have proven to be very beneficial for business.

His areas of interest include testing, architectural best practices and security.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

PyCon Pune 2017 more