Skip to content

feat!: Add async support to persist_test_utils#343

Draft
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:feat/persist_test_utils_async
Draft

feat!: Add async support to persist_test_utils#343
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:feat/persist_test_utils_async

Conversation

@ValuedMammal
Copy link
Collaborator

@ValuedMammal ValuedMammal commented Nov 7, 2025

Description

Expands the persist_test_utils module by adding a function persist_wallet_changeset_async to be used for testing an AsyncWalletPersister implementation.

Changelog notice

Added

  • persist_wallet_changeset_async to persistence test suite for testing an AsyncWalletPersister.

Changed

  • deps: Removed optional dependencies anyhow, tempfile

Checklists

All Submissions:

New Features:

  • I've added docs for the new feature

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.77%. Comparing base (fca6523) to head (9c62a96).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #343   +/-   ##
=======================================
  Coverage   79.77%   79.77%           
=======================================
  Files          24       24           
  Lines        5266     5266           
  Branches      241      241           
=======================================
  Hits         4201     4201           
  Misses        988      988           
  Partials       77       77           
Flag Coverage Δ
rust 79.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValuedMammal ValuedMammal force-pushed the feat/persist_test_utils_async branch 2 times, most recently from 15149b5 to bf0057f Compare February 7, 2026 05:49
@ValuedMammal ValuedMammal force-pushed the feat/persist_test_utils_async branch 2 times, most recently from 7e53c18 to 8be4c86 Compare February 26, 2026 04:36
@ValuedMammal ValuedMammal force-pushed the feat/persist_test_utils_async branch from 8be4c86 to 2c011f1 Compare March 18, 2026 02:31
@ValuedMammal ValuedMammal changed the title wip,draft: Add async support to persist_test_utils Add async support to persist_test_utils Mar 18, 2026
Changed the definition of `persist_*` functions to take a
`create_store` Fn (and no path) as the caller may want more
control of the path to the database file.

- deps: Make tempfile, anyhow dev-dependencies
@ValuedMammal ValuedMammal force-pushed the feat/persist_test_utils_async branch from 2c011f1 to 9c62a96 Compare March 18, 2026 03:01
@ValuedMammal ValuedMammal changed the title Add async support to persist_test_utils feat!: Add async support to persist_test_utils Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants