Skip to content

Commit 976e493

Browse files
authored
Update README.md
1 parent 2e8da70 commit 976e493

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# async-pytest-httpserver
2-
Async mock HTTP server for pytest, built on top of aiohttp.
2+
async-pytest-httpserver is a fully asynchronous mock HTTP server for use in pytest tests, built on top of aiohttp.
3+
4+
It is designed for testing code that performs HTTP requests (aiohttp, httpx, requests, etc.) without relying on real external services.
5+
6+
## Features
7+
- Fully asynchronous - implemented using aiohttp.web.Application
8+
- Dynamic runtime mocking — add or modify mock routes while the server is running
9+
- Seamless integration with pytest-aiohttp and pytest-asyncio
10+
- Real TCP server — works with any HTTP client (aiohttp, httpx, requests, etc.)
11+
- Supports async handlers — easily define coroutine-based responses

0 commit comments

Comments
 (0)