citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol
https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964
Other
73 stars 46 forks source link

Implement Integration Test for taker-cli #207

Closed Shourya742 closed 1 month ago

Shourya742 commented 4 months ago

Task

Details

Expected Outcome

mojoX911 commented 4 months ago

Further info:

This issue is for creating the first template of this type of test. It's okay if all the taker-cli commands are not covered in the solving PR. Once the template is ready we can add tests for further commands in subsequent PRs.

There is no RPC for taker-cli. takerr-cli is a REPL type of app. So each command has to be tested as a single executed process.

Approach: Use the std::process::Command to issue a single taker-cli app command and evaluate the returned result.

KnowWhoami commented 1 month ago

Completed in #244