$npx skillfedfor your agent

async-asgi-testclient

Async client for testing ASGI web applications

SkipPyPI TestingReleased Jun 2022288.6K downloads / moMIT licenseSource build

Decision gist · record as of 2026-08-14

sdist only — async-asgi-testclient-1.4.11.tar.gz · builds from source
v1.4.11 · released 2022-06-13

No, with caution. While the package is lightweight and permissively licensed, it has been abandoned with no releases since 2022-06-13. The ASGI ecosystem has evolved significantly since then, and there is no evidence of ongoing maintenance or compatibility with modern Python or framework versions. Use only if locked into an older codebase; for new projects, prefer actively maintained testing clients.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6+; designed for use with async test frameworks.
  • High install friction reported.
  • Package is in abandoned maintenance status with no releases since 2022-06-13, over 1523 days ago.

License · maintenance · safety

MIT license (permissive) — MIT license (permissive). You can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2022-06-13 (1523 days) · last repo commit 2023-06-29 · 161 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 288,647 downloads/mo, #8,017 on PyPI

Verify before relying

pip install async-asgi-testclient

from async_asgi_testclient import TestClient

async with TestClient(app) as client:
    resp = await client.get("/")
    assert resp.status_code == 200
  • Whether the package works with current ASGI 3 implementations and modern async frameworks given the maintenance gap.
  • Compatibility with Python versions beyond 3.10 (classifiers only list up to 3.10).
  • Whether websocket, multipart, and stream support remain functional with current ASGI ecosystem changes.
Same gist for agents: .md · .json

What it is and what it does

async-asgi-testclient is a testing library for ASGI web applications that avoids the complexity of running a separate HTTP server during tests. Instead of spawning the app in a different process or thread, it calls the ASGI application directly within the same asyncio loop. This approach simplifies test writing and debugging by keeping everything in a single execution context.

The library is framework-agnostic, meaning it works with any ASGI-compliant framework without depending on framework-specific testing utilities. It supports cookies, multipart form data, redirects, response and request streams, and WebSocket connections. The package has no runtime dependencies, making it lightweight to add to a test suite.

Use it for

  • Testing ASGI applications without running a live HTTP server during CI/CD pipelines.
  • Writing async unit tests for ASGI middleware and route handlers with direct app invocation.
  • Testing WebSocket endpoints and streaming responses in async ASGI applications.
  • Debugging ASGI app behavior by keeping test and app code in the same asyncio event loop.
  • Testing multipart form uploads and cookie handling in async web frameworks.

Worth the install?

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

Skip

No, with caution.

While the package is lightweight and permissively licensed, it has been abandoned with no releases since 2022-06-13. The ASGI ecosystem has evolved significantly since then, and there is no evidence of ongoing maintenance or compatibility with modern Python or framework versions. Use only if locked into an older codebase; for new projects, prefer actively maintained testing clients.

Install

async-asgi-testclient on PyPI

Before you install

High install friction reported. Package is in abandoned maintenance status with no releases since 2022-06-13, over 1523 days ago. Last repository commit was 2023-06-29. While classifiers claim production stability, the lack of recent updates means compatibility with current Python or ASGI ecosystem versions is uncertain.

Requires Python 3.6+; designed for use with async test frameworks.

License in practice

MIT license (permissive). You can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install async-asgi-testclient

from async_asgi_testclient import TestClient

async with TestClient(app) as client:
    resp = await client.get("/")
    assert resp.status_code == 200

Verify before relying

  • Whether the package works with current ASGI 3 implementations and modern async frameworks given the maintenance gap.
  • Compatibility with Python versions beyond 3.10 (classifiers only list up to 3.10).
  • Whether websocket, multipart, and stream support remain functional with current ASGI ecosystem changes.

Package facts

LicenseMIT license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 1,523 days since the last release
Last repo commit
First released
Downloads288,647 / month, #8,017 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: async-asgi-testclient-1.4.11.tar.gz

Tags

Capabilities
asgi testing clientasync web app testingtest asgi applicationsdirect asgi app testingasync http test clientframework-agnostic asgi testsasgi application testing
Topics
asgi-testingasync-testingabandoned
PyPI keywords
asyncasgitestclient

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

  • async-asgi-testclientProvides an async test client for ASGI web applications that calls…
  • asgi-lifespanProgrammatically trigger ASGI application startup and shutdown events…
  • sanic-testingProvides sync and async test clients for testing Sanic web…

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 asgi-lifespan · starlette-testclient · opentelemetry-instrumentation-asgi · a2wsgi · starlette · Quart · responses · aiohttp-asgi-connector · opentelemetry-util-http · timing-asgi