Support unavailable
Please try again later

Testing Django applications with pytest

by Andreas Pelme for

Django’s builtin testing tools are sometimes a bit cumbersome. This talk will show how to get started with testing in Django with pytest and how to make testing easier. Expect a lot of examples and general Django testing best practices.

A common problem with Django’s test runner is that it is hard to specify a subset of tests to run. Another issue can be the long time it takes to create database tables before each test run. Solutions to these and other common problems will be presented.

The talk will not be a tutorial of pytest itself, but it will show how some powerful features of pytest can help when writing Django tests. Some previous exposure to Django is recommended, but previous experience writing tests is not required. A couple of more advanced concepts will also be showed, which can be useful for people already into testing.

in on Friday 5 July at 11:15 See schedule

Do you have some questions on this talk? Leave a comment to the speaker!

New comment


Language
EN
Duration
60 minutes (inc Q&A)

Tagged as

django testing tdd
Our Sponsors
Spotify
Python Experts
SSL Matrix
Wanna sponsor?