Skip to content

An example for writing unit tests for a Django app with Pytest.

Notifications You must be signed in to change notification settings

dotja/django_pytest_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Pytest Tutorial

Write unit tests for a django app that uses a custom user model.

Use parametrize and fixtures to test urls as well as signup/login/logout.

Relevant modules:

  • pytest
  • pytest-django
  • pytest-cov

About

An example for writing unit tests for a Django app with Pytest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published