Skip to content

test: smoke test Dart full-scan binding call path - #115

Closed
ANAMASGARD wants to merge 1 commit into
bitcoindevkit:mainfrom
ANAMASGARD:fix/full-scan-dart-smoke-test
Closed

test: smoke test Dart full-scan binding call path#115
ANAMASGARD wants to merge 1 commit into
bitcoindevkit:mainfrom
ANAMASGARD:fix/full-scan-dart-smoke-test

Conversation

@ANAMASGARD

Copy link
Copy Markdown

Summary

Adds a narrow Dart-side smoke test for the generated full-scan binding path (#106).

The test builds a wallet, creates a FullScanRequest via wallet.startFullScan().build(), calls EsploraClient.fullScan(), and applies the returned Update with wallet.applyUpdate(...). Assertions are intentionally minimal — success is no-throw completion through the binding path. This does not test Electrum/Esplora scan semantics or wallet discovery behavior.

Test plan

  • dart analyze test/integration/full_scan_smoke_test.dart
  • dart test (unit/offline suite)
  • dart test test/integration/full_scan_smoke_test.dart — skipped without env vars
  • BDK_DART_RUN_INTEGRATION=1 BDK_DART_ESPLORA_URL=... dart test test/integration/full_scan_smoke_test.dart — passes

Local run (screenshot)

image

Add a narrow Esplora-gated integration test that exercises the generated
full-scan request/update path from Dart: startFullScan().build(),
EsploraClient.fullScan(), and wallet.applyUpdate(). Success is no-throw
completion through the binding path; scan semantics are not asserted.

Closes bitcoindevkit#106
@Johnosezele

Copy link
Copy Markdown
Contributor

Closing this to stay aligned with maintainer feedback elsewhere in the BDK org (comment on bdk#2242).

@Johnosezele Johnosezele closed this Aug 5, 2026
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.

2 participants