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

Add test framework #15

Merged
merged 28 commits into from
Jun 6, 2024
Merged

Add test framework #15

merged 28 commits into from
Jun 6, 2024

Conversation

idky137
Copy link
Contributor

@idky137 idky137 commented May 3, 2024

Adds test code to allow integration tests to be run without a manual launch of zcashd and lightwalletd (required for adding integration tests to CI). Restructures Nym Code and removes feature gate.

  • uses Zingolib's RegtestManager to launch Lightwalletd and Zcashd in regtest mode for integration tests.
  • uses Zingolib's ClientBuilder to create a test wallet.
  • adds proxy launcher for use in testing. Upgrades zingoproxyd using this.
  • adds test manager to launch RegtestManager and Zingo-Proxy test server.
  • simplifies feature use.
  • (moves Nym enhanced CompactTxStreamerServer service RPC code to zingo-rpc::rpc::nymservice)

Closes #11

Note: CI will be added/fixed in a separate PR.

@idky137 idky137 marked this pull request as ready for review May 13, 2024 16:33
This was referenced May 13, 2024
@idky137 idky137 mentioned this pull request May 24, 2024
Copy link
Contributor

@AloeareV AloeareV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the while vs select! issue we've discussed, this all looks awesome!

@idky137 idky137 merged commit b119bf9 into zingolabs:dev Jun 6, 2024
2 of 12 checks passed
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.

Add Test-Environment Builder
2 participants