$npx skillfedfor your agent

sanic-testing

Core testing clients for Sanic

With conditionsPyPI TestingReleased Jun 2024220.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sanic_testing-24.6.0-py3-none-any.whl
v24.6.0 · released 2024-06-30 · 1 runtime deps: httpx

Yes, if you are testing Sanic applications. The package is stable (Beta, no known vulnerabilities) and has low install friction. However, note that maintenance is dormant—last release was 775 days ago—so verify compatibility with your Sanic version before adopting. It is the intended successor to sanic.testing and remains the standard testing tool for Sanic.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (httpx).
  • Maintenance is dormant—last release was 775 days ago—but the repository remains active and the package is marked Beta.
  • Use with awareness that updates may be infrequent.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

last release 2024-06-30 (775 days) · last repo commit 2024-06-30 · 36 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 220,767 downloads/mo, #9,292 on PyPI

Verify before relying

pip install sanic-testing

from sanic import Sanic
from sanic_testing import TestManager

sanic_app = Sanic(__name__)
TestManager(sanic_app)

# Now use app.test_client or app.asgi_client in tests
  • Whether the package remains compatible with recent Sanic versions given the dormant maintenance status
  • Whether pytest-asyncio is required as a runtime dependency or only for async test examples
Same gist for agents: .md · .json

What it is and what it does

sanic-testing is a standalone test utility package extracted from Sanic core, providing both synchronous and asynchronous HTTP test clients for Sanic applications. It attaches itself to a Sanic instance via TestManager and exposes test_client (for sync tests) and asgi_client (for async tests) that can execute application handlers without standing up a server or making actual network calls.

The package depends on httpx for HTTP functionality and is designed to maintain API compatibility with the original sanic.testing module. It supports Python 3.8 through 3.12 and is classified as Beta. The async client is particularly useful for testing async handlers directly without server overhead.

Use it for

  • Write unit tests for Sanic route handlers using synchronous test_client to verify responses and status codes
  • Test async Sanic handlers with asgi_client in pytest-asyncio to execute application logic in-process
  • Migrate existing Sanic tests from the deprecated sanic.testing module to this standalone package
  • Verify request/response behavior for Sanic middleware and error handlers without network calls

Worth the install?

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

With conditions

Yes, if you are testing Sanic applications.

The package is stable (Beta, no known vulnerabilities) and has low install friction. However, note that maintenance is dormant—last release was 775 days ago—so verify compatibility with your Sanic version before adopting. It is the intended successor to sanic.testing and remains the standard testing tool for Sanic.

Install

sanic-testing on PyPI

Before you install

Low install friction with a single runtime dependency (httpx). Maintenance is dormant—last release was 775 days ago—but the repository remains active and the package is marked Beta. Use with awareness that updates may be infrequent.

License in practice

MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install sanic-testing

from sanic import Sanic
from sanic_testing import TestManager

sanic_app = Sanic(__name__)
TestManager(sanic_app)

# Now use app.test_client or app.asgi_client in tests

Verify before relying

  • Whether the package remains compatible with recent Sanic versions given the dormant maintenance status
  • Whether pytest-asyncio is required as a runtime dependency or only for async test examples

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
httpx
MaintenanceDormant 775 days since the last release
Last repo commit
First released
Downloads220,767 / month, #9,292 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: sanic_testing-24.6.0-py3-none-any.whl

Tags

Capabilities
sanic testing clienttest sanic applicationsasync http test clientsanic unit testingweb framework testingsanic asgi clienthttp request testing
Topics
sanic-frameworkhttp-testingasync-support

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 › “sanic testing client”

  • sanic-testingProvides sync and async test clients for testing Sanic web…
  • sanic-jwtSanic JWT adds JWT-based authentication and authorization to Sanic…
  • sanic-extSanic Extensions adds OpenAPI documentation, request validation,…

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 sanic · aresponses · smithy-http · oidc-provider-mock · pytest-tornado · sanic-jwt · Sanic-Cors · async-asgi-testclient · sanic-ext · smithy-core