From 895e06122c70719e04989a35d2d10c4043ccb343 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Thu, 28 Nov 2019 11:28:05 +0100 Subject: [PATCH] doc: adds pyln deps to command for running blackbox tests This one got missing when introducting `pyln` packages as test dependencies. --- doc/HACKING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/HACKING.md b/doc/HACKING.md index 3e7d94533..c31163b09 100644 --- a/doc/HACKING.md +++ b/doc/HACKING.md @@ -207,7 +207,7 @@ There are three kinds of tests: * **blackbox tests** - These test setup a mini-regtest environment and test lightningd as a whole. They can be run individually: - `PYTHONPATH=contrib/pylightning py.test -v tests/`. + `PYTHONPATH=contrib/pylightning:contrib/pyln-client:contrib/pyln-testing py.test -v tests/` You can also append `-k TESTNAME` to run a single test. Environment variables `DEBUG_SUBD=` and `TIMEOUT=` can be useful for debugging @@ -216,7 +216,7 @@ There are three kinds of tests: * **pylightning tests** - will check contrib pylightning for codestyle and run the tests in `contrib/pylightning/tests` afterwards: - `make check-python`. + `make check-python` Our Travis CI instance (see `.travis.yml`) runs all these for each pull request.