Skip to content

Guides โ€‹

Welcome to the gRPC Testify guides! This comprehensive documentation will help you master gRPC testing from basics to advanced patterns.

๐Ÿš€ Getting Started โ€‹

Start your journey with these fundamental guides:

๐ŸŽฏ Testing Patterns โ€‹

gRPC supports four main communication patterns. Each requires different testing approaches:

Unary RPC (Request-Response) โ€‹

  • Pattern: One request โ†’ One response
  • Use Case: Simple operations like CRUD, data retrieval
  • Testing: Validate single request/response pair
  • Testing Patterns - Universal testing principles

Server Streaming (One-to-Many) โ€‹

  • Pattern: One request โ†’ Multiple responses
  • Use Case: Real-time data, monitoring, live feeds
  • Testing: Validate stream of responses from single request
  • Coming soon: Server Streaming Testing

Client Streaming (Many-to-One) โ€‹

  • Pattern: Multiple requests โ†’ One response
  • Use Case: File uploads, batch operations, data collection
  • Testing: Validate multiple requests result in single response
  • Coming soon: Client Streaming Testing

Bidirectional Streaming (Many-to-Many) โ€‹

  • Pattern: Multiple requests โ†” Multiple responses
  • Use Case: Chat applications, real-time collaboration
  • Testing: Validate complex request/response sequences
  • Coming soon: Bidirectional Streaming Testing

๐Ÿ”ง Advanced Features โ€‹

๐Ÿ—๏ธ Real-World Examples โ€‹

๐Ÿ”’ Security Testing โ€‹

๐Ÿ“Š Reporting & Monitoring โ€‹

๐Ÿ› ๏ธ Troubleshooting โ€‹

Learning Path โ€‹

We recommend following this learning path:

  1. Start with Installation โ†’ Get gRPC Testify running
  2. Write Your First Test โ†’ Understand basic concepts
  3. Master Unary Testing โ†’ Learn the foundation
  4. Explore Advanced Patterns โ†’ Handle complex scenarios
  5. Integrate with CI/CD โ†’ Automate your testing
  6. Optimize Performance โ†’ Scale your test suite

Ready to begin? Start with the Installation Guide!

Released under the MIT License.