libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit a00a8b5ea3e13e80be6b667105b5c2a660408597
parent b706350fe2863c3003afb8f522c1e07f48cf33dd
Author: MS <ms@taler.net>
Date:   Tue,  2 May 2023 14:46:27 +0200

readme: running tests.

Diffstat:
MREADME | 26++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)

diff --git a/README b/README @@ -10,14 +10,28 @@ client (libeufin-cli) should be found under $PFX/bin. Additionally, the libeufin-sandbox command used for testing should be found under $PFX/bin as well. -Testing LibEuFin -================ +Running tests +============= -If the installation succeeded, all the tests can be run -with the following command, from this (repository top level) -directory. +Tests need a PostgreSQL database called "libeufincheck" that can +be accessed without credentials over TCP/IPv4. +Edit /etc/postgresql/$PG_VERSION/main/pg_hba.conf so that it will +contain one line in the following format: -$ make check + host libeufincheck all 127.0.0.1/32 trust + +In case IPv6 is used, then replace "127.0.0.1/32" with "::1/128". +Note: these instructions were tested with $PG_VERSION set to "14". + +Restart the database: + + $ systemctl restart postgresql + +If the previous steps succeeded _and_ libeufin is correctly installed, +then tests can be run in the following way, from this (repository +top level directory): + + $ make check Launching LibEuFin ==================