Context
Integration tests currently run against a shared Stellar testnet, causing flaky tests due to sequence number conflicts, account limits, and rate limiting.
Current Limitation/Problem
Shared testnet accounts cause test interference. Rate limits cause random test failures. State leaks between test suites.
Expected Outcome
Dedicated test Stellar network: Dockerized Soroban standalone for contract integration tests, ephemeral per-test accounts, automatic cleanup, and snapshot/restore for speed.
Acceptance Criteria
Technical Scope
- docker/stellar-standalone.Dockerfile - test Stellar network Docker image
- docker-compose.test.yml - test environment composition
- scripts/test-integration.sh - integration test runner
- packages/test-harness/ - test fixture utilities (deployContract, fundAccount, invokeContract)
- .github/workflows/integration-tests.yml - CI integration test workflow
- contracts/test-helpers/ - deploy, fund, invoke helper functions
Context
Integration tests currently run against a shared Stellar testnet, causing flaky tests due to sequence number conflicts, account limits, and rate limiting.
Current Limitation/Problem
Shared testnet accounts cause test interference. Rate limits cause random test failures. State leaks between test suites.
Expected Outcome
Dedicated test Stellar network: Dockerized Soroban standalone for contract integration tests, ephemeral per-test accounts, automatic cleanup, and snapshot/restore for speed.
Acceptance Criteria
Technical Scope