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:
- Installation Guide - Set up gRPC Testify on your system
- Your First Test - Write and run your first gRPC test
- Basic Concepts - Understand core gRPC testing principles
๐ฏ 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 โ
- Parallel Execution - Run tests concurrently
- Plugin System - Extend functionality with custom plugins
- Performance Testing - Optimize test execution
๐๏ธ Real-World Examples โ
- Real-time Chat Testing - Messaging patterns and real-time communication
๐ Security Testing โ
- Security Testing Patterns - Authentication, TLS, and access control
๐ Reporting & Monitoring โ
- Report Formats - JUnit XML and JSON output formats
๐ ๏ธ Troubleshooting โ
- Common Issues - Solutions to frequent problems
- Debug Techniques - Advanced debugging methods
- Performance Optimization - Speed up your tests
Learning Path โ
We recommend following this learning path:
- Start with Installation โ Get gRPC Testify running
- Write Your First Test โ Understand basic concepts
- Master Unary Testing โ Learn the foundation
- Explore Advanced Patterns โ Handle complex scenarios
- Integrate with CI/CD โ Automate your testing
- Optimize Performance โ Scale your test suite
Ready to begin? Start with the Installation Guide!