This repository has been archived by the owner on May 13, 2022. It is now read-only.
Add travis for testing, testing files in test directory #163
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.
Details:
I've connected Travis to my AdamISZ/joinmarket repo (it uses githooks) and it'll automatically test all pushes to my master branch. The tests are currently passing (You (@chris-belcher) can obviously do the same if and when it seems like a good idea.
Future plans in this regard: not sure what to do first, but probably add tests involving a larger number of bots and/or more and randomised transaction sizes. One stumbling block for testing other things (wallets, tumbler etc.) is have to create non-interactive versions (like -yes for sendpayment) which sits awkwardly with wallet creation for example (current bots cheat by using the seed option on test network).
Created an explanatory post here (since it can help with install): https://www.reddit.com/r/joinmarket/comments/3ek6qf/testing_and_setup_automation/