$npx skillfedfor your agent

django-test-plus

django-test-plus provides useful additions to Django's default TestCase

Worth itPyPI TestingReleased Aug 2026135.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_test_plus-2.6.2-py3-none-any.whl
v2.6.2 · released 2026-08-02 · Python >=3.10

Yes. django-test-plus is actively maintained, has no dependencies, and is widely used. It directly reduces test boilerplate for any Django project using the standard test framework or pytest, with no compatibility risk and permissive licensing. Install it if your team writes Django tests.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with no runtime dependencies.
  • Actively maintained with a recent release and steady repository activity; supports current Python versions and modern Django versions.

License · maintenance · safety

permissive license (permissive) — Licensed under BSD (permissive), so you can use, modify, and distribute the package freely in commercial and open-source projects without restriction.

last release 2026-08-02 (12 days) · last repo commit 2026-08-02 · 632 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,801 downloads/mo, #11,417 on PyPI

Verify before relying

pip install django-test-plus

from test_plus.test import TestCase

class MyViewTests(TestCase):
    def test_view(self):
        self.get('my-url-name')
        self.response_200()
        self.assertInContext('some-key')
  • Exact monthly download volume and ranking position to confirm popularity tier claims
  • Whether the package is compatible with Django 5.0 (classifiers list 5.0 but description does not)
Same gist for agents: .md · .json

What it is and what it does

django-test-plus is a TestCase subclass for Django that bundles common testing patterns into helper methods, cutting down on repetitive test code. Instead of manually reversing URLs, checking response status codes, and inspecting context dictionaries, you call methods like `get()`, `response_200()`, and `assertInContext()`. It also provides utilities for user creation, login context managers, query count assertions, and a pytest fixture that exposes the same helpers for pytest-style tests.

The package is designed for teams writing Django tests who want to move faster. It works with Django 4.2 LTS, 5.1, 5.2 LTS, 6.0, and 6.1, and Python 3.10, 3.11, 3.12, 3.13, 3.14, and 3.15, including free-threaded builds. No external runtime dependencies means installation is straightforward and the package integrates directly into your existing Django test suite.

Use it for

  • Speed up view testing by chaining GET/POST calls with status assertions in one line
  • Test authentication flows with login context managers and assertLoginRequired helpers
  • Create test users quickly instead of manually instantiating and saving User objects
  • Assert query counts to catch N+1 problems early with query count assertion methods
  • Use pytest fixtures to access the same helpers in pytest-style tests alongside Django's test framework
  • Build project-specific test base classes by subclassing and adding custom helpers

Worth the install?

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

Worth it

Yes.

django-test-plus is actively maintained, has no dependencies, and is widely used. It directly reduces test boilerplate for any Django project using the standard test framework or pytest, with no compatibility risk and permissive licensing. Install it if your team writes Django tests.

Install

django-test-plus on PyPI

Before you install

Low friction install with no runtime dependencies. Actively maintained with a recent release and steady repository activity; supports current Python versions and modern Django versions.

License in practice

Licensed under BSD (permissive), so you can use, modify, and distribute the package freely in commercial and open-source projects without restriction.

Quickstart

pip install django-test-plus

from test_plus.test import TestCase

class MyViewTests(TestCase):
    def test_view(self):
        self.get('my-url-name')
        self.response_200()
        self.assertInContext('some-key')

Verify before relying

  • Exact monthly download volume and ranking position to confirm popularity tier claims
  • Whether the package is compatible with Django 5.0 (classifiers list 5.0 but description does not)

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 12 days since the last release
Last repo commit
First released
Downloads135,801 / month, #11,417 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 :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Framework :: Django :: 6.1Framework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - Stable

Evidence: django_test_plus-2.6.2-py3-none-any.whl

Tags

Capabilities
django test helpersreduce django test boilerplatedjango testcase shortcutsdjango view testing utilitiesdjango authentication test helpersdjango query count assertionspytest fixtures for django
Topics
django-testingtest-utilitiespytest-compatible

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 › “django test helpers”

  • django-test-plusProvides a TestCase subclass for Django with helper methods to reduce…
  • django-dynamic-fixtureCreates dynamic Django model instances for testing without manual…
  • model-bakeryModel Bakery creates test fixtures for Django models automatically,…

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

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also django-upgrade · django-dirtyfields · django-extra-views · testtools · pytest-django · model-bakery · django-htmx · django-braces · django-stubs · behave-django