Skip to content

[PART 4] test: integration test framework and basic lifecycle tests#4

Merged
andreabadesso merged 1 commit into
masterfrom
feat/tests-basic-lifecycle
Apr 1, 2026
Merged

[PART 4] test: integration test framework and basic lifecycle tests#4
andreabadesso merged 1 commit into
masterfrom
feat/tests-basic-lifecycle

Conversation

@andreabadesso

Copy link
Copy Markdown
Contributor

Summary

  • Test helpers: session/wallet creation, balance checks, faucet sends
  • Tests: health, session lifecycle, wallet sync, session isolation

Acceptance Criteria

  • Test helpers are reusable (create_session, destroy_session, create_wallet, wait_wallet_ready, etc.)
  • test_health verifies GET /health returns 200
  • test_session_lifecycle creates a session, verifies it appears in list, destroys it, verifies removal
  • test_wallet_creation_and_sync creates a wallet, waits for blockchain sync, verifies address format
  • test_session_isolation proves two sessions with same wallet-id get different addresses (different containers)
  • Tests use configurable ORCHESTRATOR_URL and FULLNODE_URL env vars
  • Client has 60s timeout for slow blockchain operations

🤖 Generated with Claude Code

@andreabadesso andreabadesso changed the title test: integration test framework and basic lifecycle tests [PART 4] test: integration test framework and basic lifecycle tests Mar 31, 2026
@andreabadesso andreabadesso force-pushed the feat/tests-basic-lifecycle branch from 043dd49 to c23137e Compare March 31, 2026 13:23
@andreabadesso andreabadesso changed the base branch from master to feat/core-proxy-routes March 31, 2026 13:23
@andreabadesso andreabadesso added the enhancement New feature or request label Mar 31, 2026
@andreabadesso andreabadesso self-assigned this Mar 31, 2026
@andreabadesso andreabadesso moved this from Todo to In Progress (Done) in Hathor Network Mar 31, 2026
@github-project-automation github-project-automation Bot moved this from In Progress (Done) to In Review (WIP) in Hathor Network Mar 31, 2026
@andreabadesso andreabadesso changed the base branch from feat/core-proxy-routes to master April 1, 2026 14:22
Test helpers for session/wallet management, plus tests for:
- Health endpoint
- Session create/list/destroy lifecycle
- Wallet creation and blockchain sync
- Session isolation (same wallet-id, different containers)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andreabadesso andreabadesso force-pushed the feat/tests-basic-lifecycle branch from c23137e to 814c9c3 Compare April 1, 2026 14:23
@andreabadesso andreabadesso merged commit a486862 into master Apr 1, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Review (WIP) to Waiting to be deployed in Hathor Network Apr 1, 2026
@andreabadesso andreabadesso deleted the feat/tests-basic-lifecycle branch April 1, 2026 14:24
@andreabadesso andreabadesso moved this from Waiting to be deployed to Done in Hathor Network Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants