Skip to content

Add Tests for SDK Example Scripts (Smoke Tests) #392

@Jagadeeshftw

Description

@Jagadeeshftw

Description:

Turn existing SDK example scripts (lock-funds, release-funds, full-lifecycle, batch-lock, query-escrow) into automated smoke tests to prevent regressions in documentation and examples.

Requirements and context:

  • SDK examples currently serve as documentation only
  • Need tests that:
    • Run example flows against a local or mock environment
    • Assert they complete without errors
  • Component locations:
    • contracts/sdk/examples/
    • SDK test configuration

Suggested execution:

  1. Fork the repo and create a branch

    git checkout -b test/sdk-example-scripts-smoke
  2. Implement changes

    • Wrap example scripts in test harnesses
    • Make them runnable in CI with minimal setup
  3. Test and commit

    • Run SDK smoke tests
    • Note any differences between examples and production usage in PR

Example commit message:

test: convert SDK example scripts into smoke tests

Guidelines:

  • Assignment required before starting
  • PR description must include: Closes #[issue_id]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions