{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"Integrates WebTest with Django's testing framework to enable functional and integration testing via WSGI, providing access to rendered templates, context, and form handling without suppressing CSRF checks by default.","skillfed_tags":["django-testing","wsgi-testing","functional-testing"],"use_cases":["Write functional tests that follow links, submit forms, and verify HTML responses without mocking the request layer","Test form submission workflows with automatic CSRF token handling and field population","Verify template rendering and context data in integration tests that exercise the full request/response cycle","Test authenticated user flows by passing a user object or username to requests","Test django-rest-framework endpoints with automatic authentication integration"],"what_it_does":"django-webtest wraps Ian Bicking's WebTest library to provide a Django TestCase subclass that creates a test application around Django's WSGI interface. It bridges the gap between Django's native test client\u2014which is designed primarily to inspect rendered templates and context\u2014and functional/integration testing frameworks like WebTest, which simulate real HTTP interactions.\n\nThe package exposes WebTest's API through a `self.app` object in test cases, with added conveniences: a `user` argument for authenticated requests, automatic CSRF token handling in form submissions, access to `response.templates` and `response.context`, and support for Django's native test assertions. It also integrates with django-rest-framework's authentication system and provides pytest fixtures when pytest-django is installed.","worth_installing":"Yes, if you need functional or integration testing for Django applications. The package is stable, permissively licensed, and has low install friction. The aging maintenance status (312 days since release) is a minor concern but not a blocker given the package's Production/Stable classification and active repository. Install it when Django's native test client is insufficient for your testing needs."},"id":"django-webtest","links":{"html":"https://skillfed.io/packages/django-webtest","md":"https://skillfed.io/packages/django-webtest.md","pypi":"https://pypi.org/project/django-webtest/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-06","license_spdx":null,"license_treatment":"permissive","name":"django-webtest","python_support":"unspecified","summary":"Instant integration of Ian Bicking's WebTest (http://docs.pylonsproject.org/projects/webtest/) with Django's testing framework."},"popularity":{"monthly_downloads":263336,"position":8358,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.14"}
