--- id: flask-testing version: "0.8.1" license: BSD license_treatment: permissive maintenance: abandoned --- # Flask-Testing — Unit testing for Flask License: permissive · Maintenance: abandoned · Downloads: 676.8K/mo ## What it is and what it does Flask-Testing is a testing library that wraps Flask's built-in test client and adds convenience methods for unit testing Flask applications. It provides utilities for setting up test fixtures, managing application context, and making assertions on HTTP responses specific to web applications. The package is designed to reduce boilerplate when writing tests for Flask apps. However, it has been abandoned since its last release in 2020-12-24, with no active maintenance or updates to support newer Flask or Python versions. Most modern Flask projects now rely on pytest and pytest-flask, or Flask's native testing support, making this package largely superseded. Use it for: - Writing unit tests for Flask view functions and route handlers in legacy codebases that already depend on this library. - Setting up test fixtures and application context for Flask integration tests in older projects. - Making HTTP assertions on response status codes and content in Flask test suites. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides unit testing utilities and helpers for Flask applications, including test client setup, request context management, and assertion methods tailored to web testing. No. The package is abandoned (last release 2020-12-24) and compatibility with current Flask and Python versions is uncertain. Modern Flask projects should use pytest-flask or Flask's native testing tools instead. Only consider installing if maintaining a legacy codebase that already depends on it. ## Install pip install flask-testing uv add flask-testing poetry add flask-testing ## Installing Flask-Testing Before you install: High install friction and abandoned maintenance status (last release 2020-12-24, last commit 2023-08-21) make this a risky choice for new projects. No runtime dependencies, but the package has not been actively maintained for years. License in practice: BSD license is permissive and poses no restrictions on commercial or private use, modification, or redistribution. Quickstart: pip install Flask-Testing==0.8.1 from flask_testing import FlaskTestCase class MyTest(FlaskTestCase): def create_app(self): app.config['TESTING'] = True return app Requires Flask to be installed; compatibility with current Flask versions is uncertain given the abandoned maintenance status. Verify before relying: - Whether the package remains compatible with current Flask versions and modern Python releases. - Whether the testing patterns it provides are still considered best practice in the Flask ecosystem. - What specific Flask versions this 0.8.1 release was tested against. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 676.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags flask unit testing, flask test client, flask testing utilities, web app testing helpers, flask assertion methods, abandoned, legacy-testing [View on SkillFed](https://skillfed.io/packages/flask-testing) · [View on PyPI](https://pypi.org/project/flask-testing/)