diff --git a/src/tests/decider-distro-tests-rs/README.md b/src/tests/decider-distro-tests-rs/README.md new file mode 100644 index 00000000..e6149b0c --- /dev/null +++ b/src/tests/decider-distro-tests-rs/README.md @@ -0,0 +1,12 @@ +# Decider Tests + +To run tests: +- Install IPFS CLI and run the IPFS daemon using command `ipfs daemon`. +- Upload tests resources to IPFS `./resources/upload.sh`. +- Set the path to your IPFS CLI binary `export IPFS_CLI_PATH=`. +- To run tests, you may call `cargo nextext run --release`. +- To see logs, you need to use `--no-caputre` flag. + + +If you want to debug a specific test, you may enable logs using `enable_decider_logs()` function at the start of the test. +You also can modify `enable_decider_logs` (`tests/utils/mod.rs`) to enable more logs.