{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"Provides a TestCase subclass for Django with helper methods to reduce boilerplate when writing tests for views, models, and authentication, including shortcuts for URL reversal, status code assertions, and user creation.","skillfed_tags":["django-testing","test-utilities","pytest-compatible"],"use_cases":["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"],"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.\n\nThe 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.","worth_installing":"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."},"id":"django-test-plus","links":{"html":"https://skillfed.io/packages/django-test-plus","md":"https://skillfed.io/packages/django-test-plus.md","pypi":"https://pypi.org/project/django-test-plus/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-02","license_spdx":null,"license_treatment":"permissive","name":"django-test-plus","python_support":"supports_current","summary":"django-test-plus provides useful additions to Django's default TestCase"},"popularity":{"monthly_downloads":135801,"position":11417,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.6.2"}
