Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

behave-django Latest version

Code checks status Test suite status Python versions Software license Documentation Status Gitter chat room

Behave BDD integration for Django


  • Web browser automation ready
  • Database transactions per scenario
  • Use Django's test client
  • Use unittest + Django assert library
  • Use behave's command line arguments
  • Use behave's configuration file
  • Fixture loading
  • Page objects

Version Support

behave-django is tested against the officially supported combinations of Python and Django (Django 3.2, 4.1, 4.2 on Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11).

behave-django requires a few newer features of behave and hence installs a recent unreleased version of behave as a dependency.


How to Contribute

Please, read the contributing guide in the docs.