Главная
Study mode:
on
1
Intro
2
Django's testing documentation
3
py.test a full-featured Python testing tool
4
pytest-django Integration between py.test and Django
5
There is no secret to writing tests... there are only secrets to writing testable code!
6
Database access ... makes your tests slow
7
The solution - factories factory boy is an excellent library
8
py.test fixtures Replacement for unittest setUp/tear Down
9
Works with both worlds
Description:
Discover effective strategies for testing Django applications using pytest in this 50-minute conference talk from EuroPython 2013. Explore the integration between pytest and Django, learn about pytest-django, and gain insights into writing testable code. Delve into database access optimization techniques, including the use of factories with factory boy. Understand how pytest fixtures can replace traditional unittest setUp/tearDown methods, bridging both testing approaches. Enhance your Django testing skills and improve the quality of your applications.

Testing Django Applications with Pytest

EuroPython Conference
Add to list