To make automated tests work in Idea:
- Download https://github.com/ACINQ/eclair/commit/98bb7be70a4fc96242409b90fbf1ec9c5ff470e6 (latest release).
- Compile Eclair with
$ '/home/anton/apache-maven-3.6.3/bin/mvn' install -DskipTests
(things need to be done this way to geteclair-tests
jar file which is not included in prebuilt download package). - Download https://github.com/btcontract/plugin-hosted-channels.
- Create a folder
<HC>/lib/
- Go to
<Eclair>
folder with compiled stuff. - Copy
<Eclair>/eclair-core/target/eclair-core_2.13-0.5.1-tests.jar
to<HC>/lib/
. - Unpack
<Eclair>/eclair-node/target/eclair-node-0.5.1-98bb7be-bin.zip
, copy all<UNPACKED>/lib/*.jar
to<HC>/lib/
. - Open HC in Idea, go to
File -> Project structure -> Modules -> Dependencies
.