John Newbery
cad967a892
[tests] Move stop_node and start_node methods to BitcoinTestFramework
...
This commit moves functions start_node, start_nodes, stop_node and
stop_nodes functions into the BitcoinTestFramework class. It also moves
the bitcoind_processes dict and coverage variables into BitcoinTestFramework.
8 years ago
Andrew Chow
3ec5ad88e6
Add test for rpcuser/rpcpassword
8 years ago
John Newbery
d8c218f9c2
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
...
This commit changes the individual test scripts to call the
start_node(s) and stop_node(s) methods in BitcoinTestFramework.
8 years ago
John Newbery
930deb9b2c
[tests] skipped tests should clean up after themselves
8 years ago
John Newbery
0c1ade6a4b
Skip rpcbind_test if OS/network requirements are not met.
8 years ago
John Newbery
c28ee91db0
Rename rpc-tests directory to functional
8 years ago
John Newbery
00902c48cd
Rename qa directory to test
8 years ago
John Newbery
c9bd0f6421
Fix RPC failure testing (2 of 2)
...
Commit 9db8eecac1
improved the
assert_raises_jsonrpc() function for better testing of RPC failure
modes. This commit completes the job by removing remaining broken
try-except RPC testing from the individual test cases and replacing it
with calls to assert_raises_jsonrpc().
8 years ago
John Newbery
64c080051b
Use logging in individual tests
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
MarcoFalke
fa4cd2e998
qa: Check return code when stopping nodes
...
This includes work by jnewbery
8 years ago
MarcoFalke
fa7c35c4ec
[qa] util: Move wait_bitcoinds() into stop_nodes()
8 years ago
MarcoFalke
fa6e71b27d
[qa] Add getinfo smoke tests and rework versionbits test
8 years ago
MarcoFalke
ddddaafa4a
[rpc] Deprecate getinfo
...
This was replaced by getmininginfo, getnetworkinfo and getwalletinfo
8 years ago
MarcoFalke
faaec1377c
[qa] Remove unused code
8 years ago
whythat
9bbb414b80
[qa]: enable rpcbind_test
8 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
James O'Beirne
b5cbd396ca
Add basic coverage reporting for RPC tests
...
Thanks to @MarcoFalke @dexX7 @laanwj for review.
9 years ago
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
10 years ago
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
10 years ago
Wladimir J. van der Laan
49d86c7477
rpc-tests: Fix rpcbind_test after 0193fb8
...
Port number for RPC is no longer static as multiple tests could be
running at once.
11 years ago
Wladimir J. van der Laan
b5ad5e783d
Add Python test for -rpcbind and -rpcallowip
...
Add a new test, `rpcbind_test.py`, that extensively tests the new
`-rpcbind` functionality.
11 years ago