Skip to content

Add SDK deterministic integration fixture framework #281

Description

@El-swaggerito

Description

Difficulty: Expert

Type: Test

Summary

Create deterministic fixtures for SDK integration tests covering accounts, balances, payments, transactions, network responses, Soroban calls, and vault actions.

Current Behaviour

Tests may depend on live network state or scattered mock objects.

Expected Behaviour

The SDK should use reusable deterministic fixtures for success, failure, timeout, unsupported feature, and unknown-status cases.

Suggested Implementation

Create fixture conventions, helper builders, baseline fixtures, invalid examples, docs, and refactor existing tests to use them.

Files or Areas Likely Affected

  • tests/
  • src/accounts/
  • src/payments/
  • src/transactions/
  • src/network/
  • src/soroban/
  • src/vault/
  • docs/

Acceptance Criteria

  • Fixture framework is implemented.
  • Account, payment, transaction, network, and vault fixtures are included.
  • Failure, timeout, and unsupported-feature cases are included.
  • Tests avoid live-network dependency where practical.
  • Documentation explains how contributors add fixtures.
  • Existing relevant tests use the shared framework.

Additional Notes

This should improve test reliability.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labeldeveloper-experienceDeveloper experience workexpertExpert difficultysdkSDK related worktestTesting work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions