You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6000dd5 test: Add tests for dns payment instn feature (Vihiga Tyonum)
b4e1081 fix(Justfile): fix test-threads to max 2 (Vihiga Tyonum)
f809a7e test: add more tests for createtx, bip322 (Vihiga Tyonum)
a993315 test: Add sp createtx test (Vihiga Tyonum)
d710838 test: add test for multiple recipients and sp code (Vihiga Tyonum)
a040a55 test: add tests for repl, transactions & send_all (Vihiga Tyonum)
f17a7ef fix(repl): Remove null printed after repl output (Vihiga Tyonum)
d425f5b test: split tests according to typestate (Vihiga Tyonum)
3293764 fix(proxy_opts): add saving and reading proxy_opts (Vihiga Tyonum)
3465513 ref(verbose): Drop `verbose` flag from tests (Vihiga Tyonum)
702d259 test(online): Add test transaction full cycle (Vihiga Tyonum)
c013da0 test: Add integration tests for offline wallet ops (Vihiga Tyonum)
0d3c1a9 test: Add wallets, descriptor, compile & config (Vihiga Tyonum)
d8e2887 test: Add helper fns & integration tests for key (Vihiga Tyonum)
Pull request description:
<!-- You can erase any parts of this template not applicable to your Pull Request. -->
### Description
<!-- Describe the purpose of this PR, what's being adding and/or fixed -->
This PR builds on #278 and introduces integration tests for bdk-cli. It replaces manual `std::process::Command` boilerplate with the `assert_cmd` library, allowing us to perform black-box testing against the compiled binary.
Features covered so far include:
- key: generate, derive, and restore
- wallets: list wallets
- wallet config: save config, read config.
- descriptor: generate descriptor
- compile: policy compiler
- offline wallet operations: new_address, unused_address, balance, unspent, transactions, policies, public_descriptor, create_tx, combine_psbt
### Notes to the reviewers
<!-- In this section you can include notes directed to the reviewers, like explaining why some parts
of the PR were done in a specific way -->
## Changelog notice
<!-- Notice the release manager should include in the release tag message changelog -->
<!-- See https://keepachangelog.com/en/1.0.0/ for examples -->
- Introduces the BdkCli helper struct to inject context state into base commands.
- Dropped `verbose` flag from wallets as it was applicable to only `Pbst`
### Checklists
#### All Submissions:
* [x] I've signed all my commits
* [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
* [x] I ran `cargo fmt` and `cargo clippy` before committing
Top commit has no ACKs.
Tree-SHA512: ea4adf734310f4ec494564f75b904835520b4625547859bf25c529b96f2f7fef823dc220dbe4eaf4856e2dd6fe06daa9f97bddc7a565f5e19185fdeea963202e
0 commit comments