spacesprotocol / spaced

Bitcoin spaces protocol daemon
https://spacesprotocol.org
3 stars 5 forks source link

Add a simple integration test #9

Closed artfuldev closed 3 weeks ago

artfuldev commented 3 weeks ago

In this PR, we add a simple integration test.

The test downloads bitcoind, starts spaced to run against that, and calls space-cli which connects to the running instance of spaced. We assert on the space-cli outputs. We expose fields in Rpc structs in order to enable assertions.

We also:

artfuldev commented 3 weeks ago

Thanks this should be a good start! Are you able to activate and test the Github actions directly in your fork seems like it should be possible?

Thanks, I'm not sure what issue I had but I was able to run it on my fork, here's a sample run: https://github.com/artfuldev/spaced/actions/runs/10799001395/job/29953748697

buffrr commented 3 weeks ago

Thanks lgtm! I have squashed these logs as they're trivial and would otherwise add noise to the history.