|
5 | 5 |
|
6 | 6 | This directory contains the following sets of tests:
|
7 | 7 |
|
| 8 | +- [fuzz](/test/fuzz) A runner to execute all fuzz targets from |
| 9 | + [/src/test/fuzz](/src/test/fuzz). |
8 | 10 | - [functional](/test/functional) which test the functionality of
|
9 | 11 | bitcoind and bitcoin-qt by interacting with them through the RPC and P2P
|
10 | 12 | interfaces.
|
11 |
| -- [util](/test/util) which tests the bitcoin utilities, currently only |
12 |
| -bitcoin-tx. |
| 13 | +- [util](/test/util) which tests the utilities (bitcoin-util, bitcoin-tx, ...). |
13 | 14 | - [lint](/test/lint/) which perform various static analysis checks.
|
14 | 15 |
|
15 |
| -The util tests are run as part of `make check` target. The functional |
| 16 | +The util tests are run as part of `make check` target. The fuzz tests, functional |
16 | 17 | tests and lint scripts can be run as explained in the sections below.
|
17 | 18 |
|
18 | 19 | # Running tests locally
|
19 | 20 |
|
20 | 21 | Before tests can be run locally, Bitcoin Core must be built. See the [building instructions](/doc#building) for help.
|
21 | 22 |
|
| 23 | +## Fuzz tests |
| 24 | + |
| 25 | +See [/doc/fuzzing.md](/doc/fuzzing.md) |
22 | 26 |
|
23 | 27 | ### Functional tests
|
24 | 28 |
|
@@ -269,7 +273,6 @@ Use the `-v` option for verbose output.
|
269 | 273 | | [`lint-python.sh`](lint/lint-python.sh) | [flake8](https://gitlab.com/pycqa/flake8) | [3.8.3](https://github.com/bitcoin/bitcoin/pull/19348) | `pip3 install flake8==3.8.3`
|
270 | 274 | | [`lint-python.sh`](lint/lint-python.sh) | [mypy](https://github.com/python/mypy) | [0.781](https://github.com/bitcoin/bitcoin/pull/19348) | `pip3 install mypy==0.781`
|
271 | 275 | | [`lint-shell.sh`](lint/lint-shell.sh) | [ShellCheck](https://github.com/koalaman/shellcheck) | [0.7.2](https://github.com/bitcoin/bitcoin/pull/21749) | [details...](https://github.com/koalaman/shellcheck#installing)
|
272 |
| -| [`lint-shell.sh`](lint/lint-shell.sh) | [yq](https://github.com/kislyuk/yq) | default | `pip3 install yq` |
273 | 276 | | [`lint-spelling.sh`](lint/lint-spelling.sh) | [codespell](https://github.com/codespell-project/codespell) | [2.0.0](https://github.com/bitcoin/bitcoin/pull/20817) | `pip3 install codespell==2.0.0`
|
274 | 277 |
|
275 | 278 | Please be aware that on Linux distributions all dependencies are usually available as packages, but could be outdated.
|
|
0 commit comments