Flask-Testing
Unit testing for Flask
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Flask to be installed; compatibility with current Flask versions is uncertain given the abandoned maintenance status.
- 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 · maintenance · safety
BSD (permissive) — BSD license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
last release 2020-12-24 (2059 days) · last repo commit 2023-08-21 · 501 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 676,785 downloads/mo, #5,382 on PyPI
Alternatives
Verify before relying
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- 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.
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 on this page. Verify before relying on it.
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
flask-testing on PyPI
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.
Requires Flask to be installed; compatibility with current Flask versions is uncertain given the abandoned maintenance status.
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
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 | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,059 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 676,785 / month, #5,382 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: Flask-Testing-0.8.1.tar.gz
Tags
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 › “flask unit testing”
- Flask-TestingProvides unit testing utilities and helpers for Flask applications,…
- Flask-InjectorIntegrates dependency injection into Flask applications using the…
- flask-unsignCommand-line tool to decode, brute-force, and forge Flask session…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also Flask-API · sqlbag · Flask-Script · Flask-Login · approval-utilities · Flask · Flask-WTF · APIFlask · Flask-Injector · Flask-SQLAlchemy