Python-based regression tests #3763

pull gavinandresen wants to merge 2 commits into bitcoin:master from gavinandresen:regression_tests changing 14 files +585 −14
  1. gavinandresen commented at 7:09 PM on February 27, 2014: contributor

    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.

  2. 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.

  3. 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.

  4. 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.

  5. 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

  6. 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.

  7. petertodd commented at 6:32 PM on February 28, 2014: contributor

    @laanwj Yeah, it is a order of magnitude more code and will just keep getting bigger. It's what I do with the dust-b-gone repo though - computers are fast and disks big.

  8. Squashed 'qa/rpc-tests/python-bitcoinrpc/' content from commit e484743
    git-subtree-dir: qa/rpc-tests/python-bitcoinrpc
    git-subtree-split: e48474322de165212c5aa29574297e78b09df8d6
    260cf5c0a4
  9. Python-based regression tests
    skeleton.py : a do-nothing test skeleton
    listtransactions.py : start of regression test for listtransactions call
    356cfe8306
  10. gavinandresen referenced this in commit b69b5d5cd2 on Feb 28, 2014
  11. gavinandresen merged this on Feb 28, 2014
  12. gavinandresen closed this on Feb 28, 2014

  13. gavinandresen deleted the branch on Mar 13, 2014
  14. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me