π The fast, Pythonic way to build MCP servers and clients.
Add version badge for run_server_async in tests docs (#2237)
Jeremiah Lowin65260c91d511
diff --git a/docs/development/tests.mdx b/docs/development/tests.mdxindex d317bb6dc..3bbf64ce2 100644--- a/docs/development/tests.mdx+++ b/docs/development/tests.mdx@@ -4,6 +4,8 @@ description: "Testing patterns and requirements for FastMCP"icon: vial---+import { VersionBadge } from "/snippets/version-badge.mdx"+Good tests are the foundation of reliable software. In FastMCP, we treat tests as first-class documentation that demonstrates how features work while protecting against regressions. Every new capability needs comprehensive tests that demonstrate correctness.## FastMCP Tests@@ -301,6 +303,8 @@ While in-memory testing covers most unit testing needs, you'll occasionally need#### In-Process Network Testing (Preferred)+<VersionBadge version="2.13.0" />+For most network transport tests, use `run_server_async` with AnyIO task groups. This runs the server as a task in the same process, providing fast, deterministic tests with full debugger support:```python