These are in a "good enough to get other people involved" state. Improvements welcome, but I think we should pull this before nitpicking it too much. See skeleton.py for the "do-almost-nothing" regression test.
Python-based regression tests #3763
pull gavinandresen wants to merge 2 commits into bitcoin:master from gavinandresen:regression_tests changing 14 files +585 −14-
gavinandresen commented at 7:09 PM on February 27, 2014: contributor
-
kanzure commented at 8:05 PM on February 27, 2014: contributor
So future changes to these files should be submitted to https://github.com/jgarzik/python-bitcoinrpc first or should python-bitcoinrpc.git be deprecated? And maybe this answer could be included in this README either way.
-
gavinandresen commented at 8:49 PM on February 27, 2014: contributor
@kanzure : python-bitcoinrpc changes should be submitted upstream. I updated the README to make that clear.
-
BitcoinPullTester commented at 9:16 PM on February 27, 2014: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/e1c0e4b2fdffcbafbb71089dcc6b501669ff51c3 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
petertodd commented at 10:47 PM on February 27, 2014: contributor
FWIW python-bitcoinrpc is considered depreciated by jgarzik; it's now incorporated into python-bitcoinlib, which in turn I've been maintaining: https://github.com/petertodd/python-bitcoinlib
-
laanwj commented at 7:58 AM on February 28, 2014: member
@petertodd It seems to be that we don't want to include the complete python-bitcoinlib. And it's useful to have the tests self-contained instead of asking the user to install dependencies.The only part we need is the RPC proxy to be able to run tests against bitcoind.
The other option would be to use a Python wrapper around bitcoin-cli in the test harness, but using the RPC directly seems somehow more elegant to me.
-
260cf5c0a4
Squashed 'qa/rpc-tests/python-bitcoinrpc/' content from commit e484743
git-subtree-dir: qa/rpc-tests/python-bitcoinrpc git-subtree-split: e48474322de165212c5aa29574297e78b09df8d6
-
356cfe8306
Python-based regression tests
skeleton.py : a do-nothing test skeleton listtransactions.py : start of regression test for listtransactions call
- gavinandresen referenced this in commit b69b5d5cd2 on Feb 28, 2014
- gavinandresen merged this on Feb 28, 2014
- gavinandresen closed this on Feb 28, 2014
- gavinandresen deleted the branch on Mar 13, 2014
- DrahtBot locked this on Sep 8, 2021