aboutsummaryrefslogtreecommitdiff
path: root/testbench/README.md
blob: 6c377ff8df8ef5d20effb36860c7da7232cfb500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# LibEuFin Test Bench

## Interactive EBICS test

To add a platform write a minimal configuration file at `testbench/test/PLATFORM/ebics.conf` such as :

``` ini
[nexus-ebics]
currency = CHF

# Bank
HOST_BASE_URL = https://isotest.postfinance.ch/ebicsweb/ebicsweb
BANK_DIALECT = postfinance

# EBICS IDs
HOST_ID = PFEBICS
USER_ID = PFC00563
PARTNER_ID = PFC00563

IBAN = CH7789144474425692816
BIC = POFICHBEXXX
NAME = LibEuFin Tests
```

To start the interactive EBICS test run :

``` sh
make testbench platform=PLATFORM
```

If HOST_BASE_URL is one a known test platform we will generate and then offer to reset client private keys to test keys registration, otherwise, we will expect existing keys to be found at `testbench/test/PLATFORM/client-ebics-keys.json`.

This minimal configuration will be augmented on start, you can find the full documentation at `testbench/test/PLATFORM/ebics.edited.conf`.