Browse Source

Merge pull request #4074

d3081fa Removed LevelDB changes (super3)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
1ab62973d3
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 29
      qa/rpc-tests/README.md
  2. 4
      src/test/README.md

29
qa/rpc-tests/README.md

@ -1,22 +1,26 @@
Regression tests of RPC interface Regression tests of RPC interface
================================= =================================
python-bitcoinrpc: git subtree of https://github.com/jgarzik/python-bitcoinrpc ### [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc)
Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc).
Changes to python-bitcoinrpc should be made upstream, and then Changes to python-bitcoinrpc should be made upstream, and then
pulled here using git subtree pulled here using git subtree.
skeleton.py : Copy this to create new regression tests. ### [skeleton.py](skeleton.py)
Copy this to create new regression tests.
listtransactions.py : Tests for the listtransactions RPC call ### [listtransactions.py](listtransactions.py)
Tests for the listtransactions RPC call.
util.py : generally useful functions ### [util.py](util.sh)
Generally useful functions.
Bash-based tests, to be ported to Python: Bash-based tests, to be ported to Python:
----------------------------------------- -----------------------------------------
wallet.sh : Exercise wallet send/receive code. - wallet.sh : Exercise wallet send/receive code.
walletbackup.sh : Exercise wallet backup / dump / import - walletbackup.sh : Exercise wallet backup / dump / import
txnmall.sh : Test proper accounting of malleable transactions - txnmall.sh : Test proper accounting of malleable transactions
conflictedbalance.sh : More testing of malleable transaction handling - conflictedbalance.sh : More testing of malleable transaction handling
Notes Notes
===== =====
@ -32,5 +36,8 @@ test state.
If you get into a bad state, you should be able If you get into a bad state, you should be able
to recover with: to recover with:
rm -rf cache
killall bitcoind ```bash
rm -rf cache
killall bitcoind
```

4
src/test/README → src/test/README.md

@ -1,3 +1,4 @@
# Notes
The sources in this directory are unit test cases. Boost includes a The sources in this directory are unit test cases. Boost includes a
unit testing framework, and since bitcoin already uses boost, it makes unit testing framework, and since bitcoin already uses boost, it makes
sense to simply use this framework rather than require developers to sense to simply use this framework rather than require developers to
@ -17,5 +18,4 @@ uint256_tests.cpp.
For further reading, I found the following website to be helpful in For further reading, I found the following website to be helpful in
explaining how the boost unit test framework works: explaining how the boost unit test framework works:
[http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/](http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/).
http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/
Loading…
Cancel
Save