ismaelsadeeq
14405e8d4d
doc: test: update TestShell instructions
...
add missing parentheses `TestShell.method` should be `TestShell().method`.
2023-06-16 22:55:36 +01:00
Sebastian Falbesoner
31d0067f8b
doc: test: update/fix TestShell example instructions
...
Tackles two issues in the TestShell documentation:
- add missing instruction for creating a wallet prior to the
`getnewaddress` call (needed as there is no default wallet created
anymore since v0.21)
- fix `generatetoaddress` call syntax (the scripted-diff in commit
fa0b916971
only worked for tests using
`BitcoinTestFramework`)
2022-11-17 12:04:13 +01:00
MarcoFalke
fa0b916971
scripted-diff: Use generate* from TestFramework
...
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
2021-09-02 10:34:35 +02:00
Fabian Jahr
98892f39e3
doc: Improve setup_clean_chain documentation
2021-02-01 23:13:35 +01:00
James Chiang
2493770e36
TestShell: Return self from setup()
...
This allows user to chain setup() to the initializer. test-shell.md code
examples have been updated to reflect this.
2019-11-05 12:55:52 +01:00
James Chiang
9c7806e4bf
Doc: Remove backticks in test-shell.md code block
2019-11-05 12:55:52 +01:00
JamesC
19139ee034
Add documentation for test_shell submodule
2019-11-04 16:02:28 +01:00