End-to-end integration tests for the Protochain Solana gRPC API services.
tests/
├── README.md # This file
└── go/ # Go integration test module
├── README.md # Detailed test documentation
├── streaming_e2e_test.go # Transaction streaming tests
├── token_program_e2e_test.go # Token program tests
├── rpc_client_e2e_test.go # RPC client tests
├── go.mod
├── go.sum
└── config/
└── config.go # Shared configuration utilities
# Start only the surfpool validator via Docker
docker compose up surfpool -d
# Run the Rust backend locally (fast rebuilds, instant restarts)
cargo run -p protochain-solana-api
# Run tests
cd tests/go && RUN_INTEGRATION_TESTS=1 go test -v
docker compose downTip: Always develop with
cargo runlocally. Building the API in Docker is slow and unnecessary for day-to-day work.
# Pulls the pre-built image from GHCR — does NOT build locally
docker compose up -d
cd tests/go && RUN_INTEGRATION_TESTS=1 go test -v
docker compose downcd tests/go && RUN_INTEGRATION_TESTS=1 go test -v -run "TestTokenProgramE2ESuite/Test_02"See tests/go/README.md for detailed documentation.