Skip to content

Add interactive SDK CLI tool and SDK test utilities/mocking - #1211

Merged
Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
Helix-xi:drips/1182-1183
Oct 21, 2026
Merged

Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
Helix-xi:drips/1182-1183

Conversation

@Helix-xi

Copy link
Copy Markdown
Contributor

Summary

Add interactive SDK CLI tool and SDK test utilities/mocking

What was solved

#1182 — Implement interactive SDK CLI tool

Add an interactive SDK CLI tool with a command architecture, implemented commands, interactive REPL mode, per-command help, command history, and formatted output. This is a new feature requiring a CLI entry point plus supporting modules (command registry, interactive loop, history, formatter), scoped strictly to the CLI tooling described in the issue.

Addressed:

  • Changed: package.json, src/cli/index.ts, src/cli/commands.ts, src/cli/interactive.ts
  • Design a CLI architecture (entry point + command registry/dispatch)
  • Implement CLI commands for SDK interactions
  • Add an interactive REPL mode

#1183 — Add SDK test utilities and mocking

Add SDK test utilities and mocking support: a mock framework with mock providers, reusable fixtures, assertion helpers, test hooks, and general test utilities so SDK consumers and internal tests can exercise the SDK without live network calls.

Addressed:

  • Changed: src/tests/sdkFeatures.test.ts, src/adapters/types.ts
  • Design a mock framework for SDK testing
  • Implement mock providers (e.g., network/RPC/horizon-style providers)
  • Add reusable test fixtures

Changes

  • package.json (modify)
  • src/cli/interactive.ts (create)
  • src/cli/index.ts (create)
  • src/__tests__/sdkFeatures.test.ts (modify)
  • src/cli/commands.ts (create)
  • src/adapters/types.ts (modify)

Approach

  1. Implement interactive SDK CLI tool #1182 — Implement interactive SDK CLI tool (Changed: package.json, src/cli/index.ts, src/cli/commands.ts, src/cli/interactive.ts)
  2. Add SDK test utilities and mocking #1183 — Add SDK test utilities and mocking (Changed: src/tests/sdkFeatures.test.ts, src/adapters/types.ts)

Issues

Closes #1182
Closes #1183

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@Helix-xi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 7bda43d into Stellar-split:main Oct 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SDK test utilities and mocking Implement interactive SDK CLI tool

2 participants