Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Django Testing on Steroid - pytest + Hypothesis

EuroPython Conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk demonstrates pytest testing in a Django project, then extends tests with Hypothesis to detect edge cases and increase coverage. It also discusses testing invalid inputs and Django models.

Syllabus

Intro
Welcome
Who am I
Agenda
Overview
Example
Good Practices
Example Endpoint
Simple test
Validation
pytest parameterize
pytest results
Hypothesis
Testing invalid cases
Questions
Hypothesis decorator
pytest vs piunit
how to define the number of cases
applying tests to existing codebase
Hypothesis for jungle models
More questions
Hypothesis catching errors

Taught by

EuroPython Conference

Reviews

Start your review of Django Testing on Steroid - pytest + Hypothesis

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.