Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test harness #13

Merged
merged 6 commits into from
Sep 14, 2024
Merged

Create test harness #13

merged 6 commits into from
Sep 14, 2024

Conversation

buffrr
Copy link
Member

@buffrr buffrr commented Sep 14, 2024

This PR creates:

  • a nice test harness with some utilities like waiting until spaces is synced after mining some blocks, or waiting for a specific wallet to sync ... etc.
  • Block re-organization and mining utilities.
  • Packages all this into a nice TestRig type which also includes spaced.client for directly accessing an RPC client and sending commands using a typed interface.
  • Creates some initial tests for wallet which also serves as an example for integration tests.

@buffrr buffrr merged commit 57ae9bf into spacesprotocol:main Sep 14, 2024
1 check passed
@buffrr buffrr deleted the testutil branch September 15, 2024 16:49
randomlogin added a commit to randomlogin/spaced that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant