Skip to content

Testing Patterns

RPC modes

  • Unary: one REQUEST and one RESPONSE or ASSERTS
  • Client streaming: multiple REQUEST, one RESPONSE
  • Server streaming: one REQUEST, multiple RESPONSE or ASSERTS
  • Bidirectional streaming: alternating REQUEST and validation blocks

Runtime flags

bash
grpctestify tests/ --parallel 4 --timeout 30
grpctestify tests/ --log-format json --log-output results.json

OPTIONS blocks support per-test overrides for timeout, retry, retry-delay, and no-retry.

Released under the MIT License.