Главная
Study mode:
on
1
Intro
2
Welcome
3
Who am I
4
Agenda
5
Overview
6
Example
7
Good Practices
8
Example Endpoint
9
Simple test
10
Validation
11
pytest parameterize
12
pytest results
13
Hypothesis
14
Testing invalid cases
15
Questions
16
Hypothesis decorator
17
pytest vs piunit
18
how to define the number of cases
19
applying tests to existing codebase
20
Hypothesis for jungle models
21
More questions
22
Hypothesis catching errors
Description:
Explore advanced Django testing techniques in this EuroPython 2020 conference talk. Learn how to leverage pytest and Hypothesis to enhance your test suite, focusing on a simple Django project. Discover the power of test parametrization and parallelization with pytest, then delve into extending tests using Hypothesis. Uncover strategies for detecting edge cases, improving test coverage, and potentially applying these techniques to Django models. Gain insights into defining test cases, applying tests to existing codebases, and using Hypothesis for model testing. Suitable for developers with some knowledge of pytest test parametrization, this talk aims to provide value to listeners of all skill levels.

Django Testing on Steroid - pytest + Hypothesis

EuroPython Conference
Add to list