From d337568706c5e6070d05d378392e74d590438f0b Mon Sep 17 00:00:00 2001 From: Novo Date: Thu, 11 May 2023 12:36:43 +0100 Subject: [PATCH] Add instructions to build deamon for testing --- tests/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/README.md b/tests/README.md index d6c2830d..a6d920b4 100644 --- a/tests/README.md +++ b/tests/README.md @@ -8,6 +8,20 @@ Python scripts are used for the automation, and specifically the [`pytest` frame Credits: this test framework was taken and adapted from revaultd, which was itself adapted from [C-lightning's test framework](https://github.com/ElementsProject/lightning/tree/master/contrib/pyln-testing). +### Building the project for testing + +To run the tests, we must build the debug version of `lianad`. Follow the instructions at [`doc/BUILD.md`](../doc/BUILD.md) but instead of running +``` +$ cargo build --release +``` +Run +``` +$ cargo build +``` +to build the daemon for testing. +The `lianad` and `liana-cli` binaries will be in the `target/debug` directory at the root of the +repository. + ### Test dependencies Functional tests dependencies can be installed using `pip`. Use a virtual environment.