Add CLI Integration Tests Using Mock Stellar Binary for Isolated Testing
Description
CLI commands have no integration tests because they depend on stellar CLI. Running tests against a real stellar CLI requires testnet tokens. A mock stellar binary would enable comprehensive CLI testing without external dependencies.
Requirements & Context
Create mock stellar binary that returns canned responses. Add integration test suite. Cover all 8 commands, error handling, and output modes.
Suggested Execution
Branch: eat/test/cli-integration-mock-stellar
Implement Changes
(1) Create mock_stellar.sh/bat for test fixture (2) Add PATH override in tests (3) Write tests for each command (4) Test error paths and retry logic
Test & Commit
Run CLI integration tests with mock binary, verify all commands produce expected output.
Example Commit Message
est(cli): add CLI integration tests using mock stellar binary for isolated command testing
Guidelines
- Create platform-specific mock binaries
- Use PATH override in test setup
Add CLI Integration Tests Using Mock Stellar Binary for Isolated Testing
Description
CLI commands have no integration tests because they depend on stellar CLI. Running tests against a real stellar CLI requires testnet tokens. A mock stellar binary would enable comprehensive CLI testing without external dependencies.
Requirements & Context
Create mock stellar binary that returns canned responses. Add integration test suite. Cover all 8 commands, error handling, and output modes.
Suggested Execution
Branch: eat/test/cli-integration-mock-stellar
Implement Changes
(1) Create mock_stellar.sh/bat for test fixture (2) Add PATH override in tests (3) Write tests for each command (4) Test error paths and retry logic
Test & Commit
Run CLI integration tests with mock binary, verify all commands produce expected output.
Example Commit Message
Guidelines