Files
mcp-memory/agent-rules/rule_1_network_testing.md
T

643 B

Rule 1: Network Connectivity Testing

  • Mandatory Tooling: When testing ANY network connectivity, you MUST use the exact same Rust crates used in the production code.
  • Methodology: You must create standalone Rust applications (e.g., small test binaries or examples in the repository) that utilize the exact same networking plumbing as the main application.
  • Forbidden Tools: You CANNOT use bash (e.g., curl, netcat), Python, Java, Perl, wscat, or any other external scripting/CLI tools to validate network connectivity. Testing with these tools creates false positives and bypasses the actual networking crates causing issues.