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

Integration tests with bitcoin in regtest mode #31

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

afk11
Copy link
Contributor

@afk11 afk11 commented Dec 23, 2017

PRing this for your consideration - noticed some weird errors from bitcoind when you send an unknown RPC command, figured it could be interesting to run integration tests against bitcoind for certain cases. For now it's just a small test that the client gets something back from the server.

It's a separate issue for now, my motivation towards this kind of test is it allows us to test the library against a spectrum of bitcoind versions eventually. We could consider adding handling of bitcoind errors (named exceptions for the various error codes), and at least remain sure that we've implemented the right stuff.

Let me know what you think!

@afk11
Copy link
Contributor Author

afk11 commented Dec 23, 2017

Any idea why the tests aren't running? @JoshuaEstes

@afk11
Copy link
Contributor Author

afk11 commented Apr 13, 2018

Bump :) Any thoughts either way about this one? Just remembered it was open. I can add tests covering more cases if you'd like them, for now this PR is probably incomplete (a poc for now)

I actually made a package for spawning regtest nodes now, so can refactor out that stuff from here.

@JoshuaEstes
Copy link
Contributor

Not sure why, it's something I'll need to look into once I get the time.

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.

None yet

2 participants