John Newbery
0d473c539e
[tests] move mocktime property and functions to BitcoinTestFramework
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
NicolasDorier
dcf2112de6
Add safe flag to listunspent result
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
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
Joao Fonseca
fa942c755a
Move method to check matches within arrays on util.py
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
9 years ago
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
9 years ago
Suhas Daftuar
eaa8d2754b
RPC: indicate which transactions are replaceable
...
Add "bip125-replaceable" output field to listtransactions and gettransaction
which indicates if an unconfirmed transaction, or any unconfirmed parent, is
signaling opt-in RBF according to BIP 125.
9 years ago
ptschip
39a525c21f
Do not download transactions during inital sync
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Matt Corallo
907a425aa5
Add p2sh option to importaddress to import redeemScripts
9 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
10 years ago
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
10 years ago
Daniel Kraft
dcb98466b4
Extend getchaintips RPC test.
...
Add the capability to simulate network splits to the RPC test framework
and use it to do more extensive testing of 'getchaintips'.
10 years ago
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
10 years ago
Gavin Andresen
e8097f7df1
Refactor common RPC test code to BitcoinTestFramework base class
...
Inspired by #3956 , with a little more flexibility built in.
I didn't touch rpcbind_test.py, because it only runs on Linux.
11 years ago
Gavin Andresen
d138598f63
Fix regression tests
...
Taught bitcoind to close the HTTP connection after it gets a 'stop' command,
to make it easier for the regression tests to cleanly stop.
Move bitcoinrpc files to correct location.
Tidied up the python-based regression tests.
11 years ago
Wladimir J. van der Laan
3fc6846181
Add licenses for tests and test data
...
- Add license headers to source files (years based on commit dates)
in `src/test` as well as `qa`
- Add `README.md` to `src/test/data` specifying MIT license
Fixes #3848
11 years ago
Gavin Andresen
356cfe8306
Python-based regression tests
...
skeleton.py : a do-nothing test skeleton
listtransactions.py : start of regression test for listtransactions call
11 years ago