$npx skillfedfor your agent

behave-django

Behave BDD integration for Django

With conditionsPyPI WWW/HTTPReleased Jun 2026264.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — behave_django-2.0.0-py3-none-any.whl
v2.0.0 · released 2026-06-04 · Python >=3.10 · 3 runtime deps: behave, django, beautifulsoup4

Yes, if you're running Django 5.2 or 6.0 on Python 3.10+ and want to adopt BDD testing with Gherkin scenarios. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It's well-suited for teams that value readable acceptance criteria and Django's test infrastructure together.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and a Django project (5.2 or 6.0) already set up.
  • Low friction installation with a wheel distribution.
  • Actively maintained as of 71 days ago with recent commits and a stable codebase.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute behave-django freely provided you include the license notice.

last release 2026-06-04 (71 days) · last repo commit 2026-07-07 · 216 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 264,114 downloads/mo, #8,343 on PyPI

Verify before relying

pip install behave-django

from behave_django import *

# In features/steps/steps.py:
from behave import given, when, then

@given('a Django test environment')
def step_impl(context):
    pass
  • Whether page object patterns are built-in or require manual implementation.
  • Specific browser automation libraries supported beyond beautifulsoup4.
  • Whether fixture loading covers Django fixtures or custom formats.
  • Performance characteristics when running large scenario suites.
Same gist for agents: .md · .json

What it is and what it does

behave-django bridges Behave, a Gherkin-based behavior-driven development framework, into Django projects. It lets you write acceptance tests in plain-language feature files and execute them against a Django application with full access to the test client, Django's assertion library, and database transaction isolation per scenario.

The package handles the plumbing: it configures Behave to run within Django's test environment, manages database state between scenarios, and provides hooks for fixture loading and page object patterns. It's designed for teams that want to write acceptance criteria in Gherkin (readable by non-developers) while leveraging Django's testing infrastructure and optionally automating browser interactions via beautifulsoup4.

Use it for

  • Write acceptance tests in Gherkin that non-technical stakeholders can read and understand alongside developers.
  • Test Django views and workflows end-to-end with clean database state between each scenario.
  • Automate web UI testing using Django's test client or browser automation without leaving the Behave framework.
  • Validate complex user journeys across multiple Django views in a single feature file.
  • Integrate BDD testing into CI/CD pipelines using Behave's command-line interface and configuration files.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you're running Django 5.2 or 6.0 on Python 3.10+ and want to adopt BDD testing with Gherkin scenarios.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It's well-suited for teams that value readable acceptance criteria and Django's test infrastructure together.

Install

behave-django on PyPI

Before you install

Low friction installation with a wheel distribution. Actively maintained as of 71 days ago with recent commits and a stable codebase. Requires Python 3.10 or later and is tested against Django 5.2 and 6.0.

Requires Python 3.10 or later and a Django project (5.2 or 6.0) already set up.

License in practice

MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute behave-django freely provided you include the license notice.

Quickstart

pip install behave-django

from behave_django import *

# In features/steps/steps.py:
from behave import given, when, then

@given('a Django test environment')
def step_impl(context):
    pass

Verify before relying

  • Whether page object patterns are built-in or require manual implementation.
  • Specific browser automation libraries supported beyond beautifulsoup4.
  • Whether fixture loading covers Django fixtures or custom formats.
  • Performance characteristics when running large scenario suites.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
behavedjangobeautifulsoup4
MaintenanceActively maintained 71 days since the last release
Last repo commit
First released
Downloads264,114 / month, #8,343 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: PluginsEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Testing

Evidence: behave_django-2.0.0-py3-none-any.whl

Tags

Capabilities
behave django bdd testingdjango scenario testingbdd framework djangodjango acceptance testinggherkin django testsdjango feature testingbehavior driven development django
Topics
bdddjango-integrationacceptance-testing
PyPI keywords
bddbehavedjangotesting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “behave django bdd testing”

  • behave-djangoIntegrates Behave BDD testing into Django projects, enabling…
  • behavexBehaveX extends Behave with parallel test execution, enterprise…
  • behavebehave is a behavior-driven development (BDD) framework that lets you…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also behave · radish-bdd · behavex · pytest-bdd · behave-html-formatter · vedro · allure-behave · cucumber-tag-expressions · cucumber-expressions · behave-reportportal