John Newbery
6cf094a022
[tests] Avoid passing around member variables in test_framework
7 years ago
John Newbery
36b6268670
[tests] TestNode: separate add_node from start_node
...
Separates the act of creating a TestNode object from starting the node.
The test_framework now keeps track of its list of TestNodes, and test
writers can call start_node() and stop_node() without having to update
the self.nodes list.
7 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
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
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
e722777a49
fix logging in nulldummy and proxy_test
8 years ago
John Newbery
b0dec4a04a
Remove manual debug settings in qa tests.
...
-debug and -logtimemicros are now set by default. Individual test cases
no longer need to set these parameters manually.
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
fa80ef8173
[qa] proxy_test: Calculate hardcoded port numbers instead
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
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
Wladimir J. van der Laan
7539f1aae3
tests: Make proxy_test work on travis servers without IPv6
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
Wladimir J. van der Laan
edbdf8855d
tests: Extend RPC proxy tests
...
Also test -noonion
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Wladimir J. van der Laan
6be3562e50
rpc-tests: Add proxy test
...
Add test for -proxy, -onion and -proxyrandomize.
10 years ago