forked from romanz/electrs
-
Notifications
You must be signed in to change notification settings - Fork 142
Integration tests #46
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added e2e tests for the Electrum RPC server using the headless Electrum wallet daemon (96b7b0f). |
83b8b75
to
0ceea5c
Compare
7a20eb8
to
25c7e9e
Compare
Implemented e2e browser tests for the esplora web ui in Blockstream/esplora#362. |
piqjen-1xofFi-sikxyh
approved these changes
Feb 4, 2022
Rebased on top of #48. |
And fix some compatibility issues with the changes introduced in rust-bitcoin v0.28.
98b8e71
to
1e65848
Compare
The EBCompact compatibility trait is no longer necessary, the `get` prefix was removed in ElementsProject/rust-elements#128
Using the headless Electrum wallet daemon: https://electrum.readthedocs.io/en/latest/jsonrpc.html
Using the `elementsd` crate to spawn a regtest elements envirnoment.
Confidentiality, asset issuance and signed blocks (dynafed);
kentschumm
approved these changes
Nov 13, 2022
Reopened as #60. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uses the fantastic
bitcoind
crate by @RCasatta to setup a bitcoind regtest environmentCurrently supports Bitcoin mode only, Liquid support is up next(a similarelementsd
crate exists to setup an elements regtest environment)Support for Liquid mode was added.
Currently covers the HTTP REST API (some basic tests for 14 endpoints)
, testing the Electrum RPC server will be added later - either withelectrum_client
to test the RPC commands directly, or more fully e2e with an headless Electrum wallet (I did the later before forbwt
)The tests now cover the Electrum RPC server too.
I'm also looking to later implement e2e tests for the Esplora client-side web UI, using something likecypress
.Available here: End-to-end browser tests for the web ui (Cypress-based) esplora#362.
Running with
JSONRPC_IMPORT=1
speeds up the initial indexing which can be useful for local development.CI integration is
still notimplemented via Github Actions.