Installation
Install and set up gRPC Testify (Rust).
Prerequisites
- Docker is optional (for example servers)
Install
Homebrew (macOS and Linux)
bash
brew tap gripmock/tap
brew install gripmock/tap/grpctestifyCargo
bash
cargo install grpctestifyPrebuilt binaries (GitHub Releases)
bash
# Linux/macOS example
curl -LO https://github.com/gripmock/grpctestify-rust/releases/latest/download/grpctestify-linux-amd64.tar.gz
tar -xzf grpctestify-linux-amd64.tar.gz
sudo install -m 0755 grpctestify /usr/local/bin/grpctestifyFor other targets (macOS arm64/amd64, Linux arm64, Windows amd64/arm64), use release assets:
Verify Installation
bash
grpctestify --version
grpctestify --helpQuick Check
bash
cat > test.gctf << 'EOF'
--- ADDRESS ---
localhost:4770
--- ENDPOINT ---
grpc.health.v1.Health/Check
--- REQUEST ---
{}
--- ASSERTS ---
.status == "SERVING"
EOF
grpctestify test.gctfNext Steps
Troubleshooting
- If
grpctestifyis not found, ensure install path is inPATH - If connection fails, verify your gRPC server address and availability
- For TLS issues, validate your cert paths in
TLSsection