diff options
author | victorsintnicolaas <vicsn@users.noreply.github.com> | 2018-06-15 11:57:22 +0200 |
---|---|---|
committer | victorsintnicolaas <vicsn@users.noreply.github.com> | 2018-06-29 10:06:22 +0200 |
commit | 207b66ecc28833f1cb211d3489df96fc42ebab28 (patch) | |
tree | 41224110d99721d417d0a33f1a4c0b2d9ff76712 /tests/README.md | |
parent | update get_info RPC and bump RPC version (diff) | |
download | monero-207b66ecc28833f1cb211d3489df96fc42ebab28.tar.xz |
first new functional tests
Diffstat (limited to 'tests/README.md')
-rw-r--r-- | tests/README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/README.md b/tests/README.md index 48a6c41a7..0bf097254 100644 --- a/tests/README.md +++ b/tests/README.md @@ -50,6 +50,20 @@ To run the same tests on a release build, replace `debug` with `release`. # Functional tests [TODO] +Functional tests are located under the `tests/functional` directory. + +First, run a regtest daemon in the offline mode and with a fixed difficulty: +``` +monerod --regtest --offline --fixed-difficulty 1 +``` +Alternatively, you can run multiple daemons and let them connect with each other by using `--add-exclusive-node`. In this case, make sure that the same fixed difficulty is given to all the daemons. + +Next, restore a mainnet wallet with the following seed and restore height 0 (the file path doesn't matter): +``` +velvet lymph giddy number token physics poetry unquoted nibs useful sabotage limits benches lifestyle eden nitrogen anvil fewest avoid batch vials washing fences goat unquoted +``` + +Open the wallet file with `monero-wallet-rpc` with RPC port 18083. Finally, start tests by invoking ./blockchain.py or ./speed.py # Fuzz tests |