Manual test for transfer CRUD¶
Table of contents¶
Purpose¶
User acceptance test to validate transfer create, read, update, and delete operations with sync confirmation in the HomeBudget apps.
Prerequisites¶
- HomeBudget Windows app installed and running
- HomeBudget mobile app available for sync checks
- Live HomeBudget database configured and connected to the apps
- Copy
config/hb-config.json.sampleto%USERPROFILE%/OneDrive/Documents/HomeBudgetData/hb-config.json - Edit the config file to set
db_pathto your operational homebudget.db -
Or use
--dbflag to specify your operational database path -
Wrapper environment activated
- Package installed in editable mode
Test procedure¶
- User action: record the current transfer count in the Windows app
- Automated: add a transfer with the wrapper (uses config database by default)
homebudget transfer add \
--date 2026-02-20 \
--from-account "Bank TWH SGD" \
--to-account "Wallet" \
--amount 200.00 \
--notes "TDD Test Transfer"
Note: To use a specific database, add --db <path_to_your_homebudget.db>
- Automated: verify a new SyncUpdate entry exists
- User action: confirm the new transfer appears in the Windows app
- User action: wait for sync and confirm the transfer appears in the mobile app
- Automated: locate the new transfer key using the list command
- Automated: update the transfer amount with the wrapper using the new key
- User action: confirm the transfer amount update in the Windows app
- Automated: delete the transfer with the wrapper using the new key
- User action: confirm the transfer is removed in the Windows app
- User action: wait for sync and confirm the deletion in the mobile app
- Record results and any notes
Results¶
- Result status
- Notes
- Timestamp