mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-17 19:19:12 +02:00
* docs: clarify pytest-asyncio dependency and asyncio mode configuration Added a Prerequisites section to the testing documentation explaining: - pytest-asyncio is required for async test functions and fixtures - Recommended configuration: asyncio_mode = 'auto' in pyproject.toml - This eliminates need for @pytest.mark.asyncio decorators Resolves #2372 Co-authored-by: William Easton <strawgate@users.noreply.github.com> * feat: add testing_demo example with comprehensive test suite Add a standalone example project demonstrating FastMCP testing patterns: - Tools, resources, and prompts with full test coverage - pytest-asyncio configuration in pyproject.toml - 18 passing tests showing async fixtures, parametrized tests, and more - Documentation explaining testing best practices Co-authored-by: William Easton <strawgate@users.noreply.github.com> --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: William Easton <strawgate@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| atproto_mcp | ||
| auth | ||
| fastmcp_config | ||
| fastmcp_config_demo | ||
| smart_home | ||
| testing_demo | ||
| complex_inputs.py | ||
| config_server.py | ||
| desktop.py | ||
| echo.py | ||
| get_file.py | ||
| in_memory_proxy_example.py | ||
| memory.fastmcp.json | ||
| memory.py | ||
| mount_example.fastmcp.json | ||
| mount_example.py | ||
| sampling.py | ||
| sampling_fallback.py | ||
| screenshot.fastmcp.json | ||
| screenshot.py | ||
| serializer.py | ||
| simple_echo.py | ||
| tags_example.py | ||
| text_me.py | ||
| tool_result_echo.py | ||