JSON-RPC 2.0 Testing Guide: Envelopes, Errors and Edge Cases
How to test a JSON-RPC 2.0 API: the envelope rules every reply must follow, the standard error codes, named and positional params, notifications, batches, OpenRPC-driven test generation and a pytest suite to start from.