Commit Graph

416 Commits

Author SHA1 Message Date
6fc3aa0b31
taler-wallet: implement log level, use new wallet for every benchmark iteration 2021-11-05 13:10:15 +01:00
ms
c87be3707e
Implementing euFin-based harness.
- move stateless euFin API helpers to separate
  file, in order to avoid circular dependecy between
  harness.ts and libeufin.ts

- implement BankServiceInterface with euFin.  This
  one is not tested and disabled by default.
2021-11-04 13:49:23 +01:00
Boss Marco
8d9386ac00
start a new wallet for each iteration 2021-11-03 16:20:55 +01:00
ms
ea2acd1d3c
Testing harness.
No need to import modules dynamically, in order to
provide the euFin implementation of the BankServiceInterface.
2021-11-01 14:48:49 +01:00
ms
240a8c7427
fix IBAN generator 2021-10-29 15:07:43 +02:00
ms
1419751bfb
test harness: abstracting import of BankService 2021-10-29 15:07:16 +02:00
Boss Marco
dce86113b1
disable throttling for bench1 2021-10-27 15:56:28 +02:00
Boss Marco
4b05ba002c
remove string() 2021-10-26 11:04:02 +02:00
Boss Marco
fb23bab6fe
update bench1 config 2021-10-26 10:50:01 +02:00
ms
835ac85a28
Adapt euFin tests to Demobank model.
Mostly, this change removes any mention of
the currency when bank accounts are created.
2021-10-23 11:35:54 +02:00
cf25f5698e
wallet-cli: run benchmark in a loop 2021-10-20 13:27:47 +02:00
589c2a3382
wallet-cli: benchmarking 2021-10-20 13:06:31 +02:00
ms
f2492cac6d
Fix key-rotation test case. 2021-10-15 07:50:20 +02:00
ms
883ed972a4
Not tolerating != 200 responses during (libEufin) tests. 2021-10-15 07:50:20 +02:00
ms
c25b26983c
Pass Sandbox credentials to the CLI's env. 2021-10-15 07:50:19 +02:00
c532648694
implement fakebank withdrawal 2021-10-14 11:36:43 +02:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util 2021-10-07 12:01:40 +02:00
ms
2c3456608e
Testing euFin 'bad gateway' handling. 2021-10-02 10:21:09 +02:00
ms
5dc9bc1ebb
testing 404 from Sandbox 2021-10-01 13:05:15 +02:00
ms
490620ad04
Adapt tests to Sandbox' new access control. 2021-09-17 16:02:34 +02:00
MS
a4489b80e3
testing Nexus balance accounting 2021-09-02 21:48:41 +00:00
MS
311f89c8ba
testing c52/c53 coordination,
and allow passing query parameters to the
"fetch transactions" API from Nexus.
2021-09-02 09:29:13 +00:00
ms
4e9d59e6f6
Exclude test (CAMT printer) without assertions. 2021-09-01 18:26:31 +02:00
ms
bf98724808
Use valid currency (EUR) for EBICS schema. 2021-09-01 18:17:52 +02:00
ms
8b73c30b1f
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:51:52 +02:00
ms
79c14e77ec
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:38:54 +02:00
ms
2cecdccb49
remove test without assertions 2021-09-01 15:53:32 +02:00
MS
1ca5677f8d
Need to "tick" before asking transactions to libeufin. 2021-09-01 11:45:47 +02:00
MS
812c7e7708
testing the statement generation 2021-08-29 23:47:51 -11:00
ms
fc334ecb60
make Camt test go debit 2021-08-24 17:42:09 +02:00
a09359bd39
implement freezing for payments 2021-08-24 15:08:34 +02:00
MS
7553ae7c74
test Camt generation 2021-08-23 23:46:40 -11:00
828e65b0eb
fix un-offered denom situation, test case almost works 2021-08-23 22:28:46 +02:00
MS
39cbad89bb
Testing Sandbox CLI wire transfer. 2021-08-23 03:31:48 -11:00
de0d004dd9
packaging fixes 2021-08-20 13:52:13 +02:00
45f1346990
minimatch
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:51 +02:00
a576fdfbf8
backup 2021-08-19 19:26:37 +02:00
f5a8ae33e3
cleanup / formatting 2021-08-19 18:34:23 +02:00
d43313f71e
Revert "testing: reset exchange tables before start"
This reverts commit 3450c1617f.
2021-08-19 18:07:45 +02:00
0d03063710
new integration test 2021-08-19 17:59:52 +02:00
c0e6b6d0f6
run pending operations at least once, style fixes 2021-08-19 15:12:33 +02:00
3ce740d87d
store 'list issue date' of denoms, cleanup 2021-08-19 13:48:45 +02:00
ms
b015f76e72
check Anastasis API's (positive) delta param 2021-08-18 19:58:43 +02:00
ms
e5d10137dd
Checking the start and delta params of Anastasis API. 2021-08-18 19:55:49 +02:00
ms
739e6576a8
Test Anastasis with user privileges,
therefore giving history permission first.
2021-08-18 19:42:17 +02:00
MS
1d711d441d
Anastasis facade: check transactions number 2021-08-17 23:16:51 -11:00
MS
2450ecbe6a
enable Anastasis facade test, and call API. 2021-08-17 03:53:16 -11:00
MS
93b455a28a
Anastasis API helper function. 2021-08-16 23:21:35 -11:00
MS
1f255b7f4e
Extend test tooling to create Anastasis facades. 2021-08-16 22:31:04 -11:00
MS
daf9dc507e
Anastasis facade tooling. 2021-08-16 03:19:44 -11:00
ec713f04b8
better coverage for merchant spec test 2021-08-16 13:33:31 +02:00
MS
0f851aceed
Fix use of validateStatus(). 2021-08-15 23:43:19 -11:00
MS
de7e4ee015
tests: POSTing malformed facade creation. See bug 6971. 2021-08-14 22:37:57 -11:00
eb553be841
merchant spec test: adapt to updated spec 2021-08-13 14:41:25 +02:00
9e07bc9963
merchant spec: more checks 2021-08-13 14:28:54 +02:00
2f945b2aeb
merchant test cases 2021-08-12 21:01:40 +02:00
425ea0fbca
tests: logging for test-paywall-flow 2021-08-08 13:35:35 +02:00
5f06ce16be
use valid BIC in test 2021-08-07 22:09:46 +02:00
c077c0d8c0
consider deposit operations for pending operations 2021-08-07 17:59:06 +02:00
ms
93e9c3b6cf
Sandbox: testing balance 2021-08-07 17:06:39 +02:00
34c405f4c9
adjust libeufin test cases 2021-08-07 12:39:26 +02:00
20ffa834d8
tag test properly 2021-08-06 18:51:37 +02:00
05e52d4e11
perf and logging improvements 2021-08-06 16:27:18 +02:00
9026b0aaad
merchant test: pass h_contract 2021-08-06 11:45:08 +02:00
ea0e058b34
merchant test: auth is not a management API 2021-08-05 22:55:58 +02:00
b0e05fcdbc
typo 2021-08-05 22:49:54 +02:00
cd15937dad
fix section comparison 2021-08-05 22:43:14 +02:00
09b07d6147
fix typo in wire gateway client invocation 2021-08-05 21:52:38 +02:00
6141d214b9
typo in error message 2021-08-05 21:49:11 +02:00
Sebastian
8dbf127083
issue #6945: Move instance management API to /management instead of /private 2021-08-05 15:02:56 -03:00
e073f3a793
typo 2021-08-05 00:03:41 +02:00
8e41165f45
debian: bump version 2021-08-05 00:02:49 +02:00
d86714eaba
linting 2021-08-04 23:58:50 +02:00
77b16392b0
linting logic 2021-08-04 23:32:34 +02:00
0439096a53
improved denomination generator 2021-08-04 23:26:47 +02:00
9769f69601
linting 2021-08-04 23:16:08 +02:00
dadf7a943c
more checks 2021-08-04 22:43:09 +02:00
8210480bdd
fix condition 2021-08-04 22:35:03 +02:00
3ca05c0906
linting 2021-08-04 22:32:23 +02:00
04e7315d4d
linting 2021-08-04 22:24:06 +02:00
0c6bb04356
linting 2021-08-04 21:58:21 +02:00
c3f23d0eab
fix test expectation in merchant-exchange-confusion 2021-08-04 18:40:39 +02:00
20611fe6e0
linting 2021-08-04 18:14:37 +02:00
4293b91abc
linting 2021-08-04 18:08:24 +02:00
acaa2282b6
linting 2021-08-04 18:05:41 +02:00
17f2132b4a
fix test expectation in merchant-refund-api 2021-08-04 17:47:28 +02:00
f88e14f66d
towards exchange linting 2021-08-04 17:14:52 +02:00
18c8cebbcd
add test to righ test suite 2021-08-04 13:45:24 +02:00
ec0ebb09e2
adapt integration tests to new exchange configuration 2021-08-04 12:49:46 +02:00
a8e5b95682
integration tests: check that TWG base URLs look well-formed 2021-08-04 12:40:49 +02:00
f92cbdbf47
better default config location detection 2021-08-04 12:21:05 +02:00
a123569677
test libeufin facade creation CLI 2021-08-03 14:00:49 +02:00
049227bfd9
missing file 2021-08-02 16:23:17 +02:00
fc2be33e32
deployment helpers 2021-08-02 15:20:00 +02:00
a8a4f76ed8
implement new GNUnet config features 2021-08-02 14:11:39 +02:00
fe44c84c09
initialize wallet 2021-08-02 10:54:25 +02:00
aaf219807d
debian 2021-08-02 10:03:13 +02:00
3427e2f016
debian 2021-08-02 09:46:16 +02:00
ms
f448f94aea
testing: delay to allow ingestion 2021-07-30 12:12:26 +02:00
ms
a6016952e6
fix IBAN generator 2021-07-30 11:09:17 +02:00
ms
263b1e7751
Fix libeufin refund test.
The ingestion needed a delay to take place.
2021-07-30 10:53:26 +02:00
ms
2ccfa3c2f2
testing: give option to restart merchant without DB reset. 2021-07-30 09:46:19 +02:00
ms
59b6615093
Adapt tests to new API.
Putting public_reorder_url beside any mention
of fulfillment_url, since tests used the latter
in the sense of the former.
2021-07-29 17:12:46 +02:00
ms
172044f022
Fix tipping test.
This test case used to stop+start the merchant along the
run.  This made the DB erased, and got the tip reserve information
lost.  stop+start is now commented out
2021-07-29 16:40:02 +02:00
ms
3de34849b8
testing: provide default instance beforehand 2021-07-29 16:11:02 +02:00
ms
2a86e4c721
testing: provide default instance beforehand 2021-07-29 16:03:08 +02:00
ms
58c3a17b3e
Testing: convenience method to make default instances.
This will facilitate those tests needing a merchant
backend, since it is currently not possible to make
instances without having first a default instance defined.
2021-07-29 15:42:23 +02:00
ms
3450c1617f
testing: reset exchange tables before start 2021-07-29 10:43:01 +02:00
ms
d725d82338
remove incorrect comment 2021-07-29 09:07:35 +02:00
ms
96640c5741
test harness: resetting merchant tables before starting it 2021-07-29 09:06:03 +02:00
ms
a415545644
Instances test auth.
Commenting out 401-responded call due to its use
of the old auth policy of the merchant backend.
2021-07-28 14:34:18 +02:00
ms
fbf1b3e9bf
Sandbox keyrotation testcase. 2021-07-27 10:08:00 +02:00
ms
d591933890
(sandbox) key-rotation command 2021-07-27 07:55:45 +02:00
ms
375b3af7e8
Configure Sandbox before tests 2021-07-27 07:27:14 +02:00
ms
a4bfce6e93
Debian packaging deps (Node) 2021-07-27 07:27:14 +02:00
e70e664da9
fix test case 2021-07-22 18:58:45 +02:00
Sebastian
2b9686ccc6
added missing implementation in wallet cli 2021-07-16 10:12:22 -03:00
ms
4f53189536
debian package 2021-07-14 15:33:30 +02:00
e2287d6d5b
make TextEncoder/Decoder creation lazy for polyfill to work 2021-07-13 14:10:38 +02:00
50bbaa40db
cli: polyfill for older node versions 2021-07-13 13:55:52 +02:00
2667d741e9
add test for zero-value payments 2021-07-12 15:55:19 +02:00
ms
5881d957ca
env var name 2021-07-09 16:54:10 +02:00
ms
ec038c407f
env var name 2021-07-09 13:51:33 +02:00
ms
a3d22f7313
improve tests symlink's name 2021-07-09 13:15:50 +02:00
ms
ba995882ba
introducing a health check for demo.taler.net. 2021-07-08 09:34:38 +02:00
e35c2f581b
simplify task loop, test coin suspension 2021-06-22 13:52:28 +02:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util 2021-06-20 16:14:56 -03:00
99550b0011
hide internal wallet state, keep it internal to package 2021-06-17 21:06:54 +02:00
a7c1f7d012
add --quiet flag to test runner 2021-06-17 14:18:05 +02:00
5df7ddba97
use the new wallet core API interface in all tests 2021-06-17 13:35:08 +02:00
97091fd45f
add 'payment-forgettable' integration test 2021-06-16 12:02:08 +02:00
52b8785d95
adjust imports 2021-06-15 19:01:05 +02:00
d41ae5eb97
separate wallet state from wallet client 2021-06-15 18:52:43 +02:00
bed86d9613
add missing await 2021-06-14 11:58:11 +02:00
6e11b69cf5
allow changing the wallet device ID 2021-06-14 11:21:29 +02:00
9acd4a4060
increase test timeout, because merchant's own exchange timeout is rather large 2021-06-11 13:33:34 +02:00
7d15ce3d88
make retryInfo optional 2021-06-11 13:18:33 +02:00
8ad36d89f5
simplify pending transactions, make more tests pass again 2021-06-10 16:32:37 +02:00
7b7e3b4565
transaction fixes 2021-06-10 10:37:49 +02:00
67e5d68b93
fix merchant instance creation in some tests 2021-06-10 10:00:36 +02:00
3d2b7b2a65
formatting: re-run prettier 2021-06-09 15:26:18 +02:00
5c26461247
database access refactor 2021-06-09 15:24:19 +02:00
Sebastian
2e1438eb04
moving logger into taler-util 2021-06-08 17:18:24 -03:00
02f1d4b081
support multiple exchange details per base URL 2021-06-02 13:24:28 +02:00
MS
042849b99b
Tagging LibEuFin tests. 2021-05-21 19:24:17 +02:00
6f0d561345
instance creation order, again 2021-05-21 12:07:54 +02:00
0e0d5fa3b4
fix instance creation order 2021-05-21 12:03:09 +02:00
4414f738ef
tag tests 2021-05-21 11:47:24 +02:00
6fc9a052b7
implement deletion of withdrawal transactions 2021-05-20 16:24:41 +02:00
MS
0299e719ce
test Libeufin Facade API 2021-05-18 18:01:41 +02:00
5954513845
remove defunct campt-samples for now 2021-05-17 12:58:36 +02:00
MS
dcef82d677
Libeufin, testing scheduling API 2021-05-14 12:50:44 +02:00
MS
a931d48a84
Libeufin, testing scheduling API 2021-05-14 12:34:07 +02:00
f4ec5b1a32
implement currencies subcommand 2021-05-12 16:18:32 +02:00
MS
83b02069c9
libeufin, testing bank connection removal 2021-05-12 11:52:38 +02:00
MS
41b65e90b9
Libeufin API testing.
Testing CRUD operations of the 'bankaccount' resource.
2021-05-12 09:58:17 +02:00
MS
2d2bdb7afe
Camt samples submodules.
Downloading them into the assets/ directory.
2021-05-10 15:53:11 +02:00
MS
3b3733197f
remove submodule, due to wrong path 2021-05-10 15:50:38 +02:00
MS
b4c4754008
remove unwanted char 2021-05-10 15:41:52 +02:00
477b1399ca
fix type 2021-05-10 15:32:50 +02:00
8dc5384bdc
asset loading for integration tests 2021-05-10 15:32:20 +02:00
MS
9ffe187494
Camt samples submodule 2021-05-10 15:14:03 +02:00
MS
9772e5837e
Libeufin testing: testing users creation/update 2021-05-10 11:54:59 +02:00
MS
b414de8533
Testing Libeufin's permission API: creating and deleting one. 2021-05-07 11:39:01 +02:00
MS
1944b08f87
libeufin tests 2021-05-07 08:49:26 +02:00
ms
3a6cee4a62
avoid hard-coded values 2021-05-06 14:41:29 +02:00
MS
4397e96cc8
Libeufin tests.
Adding the CLI command that submits a initiated payment,
plus calling it from the 'tutorial' test case.
2021-05-03 11:12:46 +02:00
MS
eaa5aba4e2
Testing: done with simple refund case. 2021-04-30 11:45:47 +02:00
MS
98014f4b64
testing harness gets more Nexus API 2021-04-29 17:03:05 +02:00
MS
cf0260fa7f
testing: print history 2021-04-29 16:51:15 +02:00
MS
9928d2ef35
Libeufin Tests.
Testing refunds due to invalid subject.  Up to the
point where the list of transactions is returned by
the local bank account.
2021-04-29 11:19:17 +02:00
Christian Grothoff
9b89387535
fix spelling issues 2021-04-27 23:42:25 +02:00
f4b5f3cff8
implement debug flag for allowing late withdrawal 2021-04-14 18:21:23 +02:00
2645fe3f9b
fix integration test 2021-04-14 14:36:29 +02:00
f30f923e15
fix two bogus test assertions 2021-04-09 16:43:57 +02:00
15cecf126a
better logging 2021-04-08 16:31:43 +02:00
b2edad2dac
improve error reporting in test case 2021-04-08 16:03:04 +02:00
4fa88007f9
get coin re-selection after accidental double spending to work 2021-04-07 19:29:51 +02:00
d44740b787
fix build issues 2021-03-27 14:36:08 +01:00
07cdfb2e4e
towards wallet-core / util split 2021-03-17 17:56:37 +01:00
fb3da3a28d
towards recovering from accidental double spends 2021-03-11 13:08:41 +01:00
1392dc47c6
finish first complete end-to-end backup/sync test 2021-03-10 17:11:59 +01:00
ac89c3d277
restructure sync, store errors 2021-03-10 12:00:30 +01:00
49b5d006db
deletion test: expect different status code 2021-03-04 16:10:36 +01:00
90af26ace5
deletion test 2021-03-04 15:59:31 +01:00
050461f28d
test merchant issue reported by MS 2021-03-04 13:42:08 +01:00
041e7ec353
merchant test: instance management only possibly via plain base URL 2021-03-04 12:57:54 +01:00
9f0ca4b321
merchant test: also test with existing instance 2021-03-03 21:24:52 +01:00
364815e0cc
add sebasjm's example 2021-03-03 21:22:47 +01:00
1a0610f222
WIP: wallet backup integration test 2021-03-03 21:20:05 +01:00
186a38250f
add one more test URL 2021-03-02 21:58:59 +01:00
2808ea9743
one more 2021-03-02 21:53:55 +01:00
90a77de2f4
add test 2021-03-02 21:47:57 +01:00
9c2440718d
test merchant's instance detail response 2021-03-02 20:20:51 +01:00
81be4aacd8
add merchant instances/auth test case 2021-03-02 20:03:39 +01:00
98ab998a1e
implement test suites 2021-03-02 14:19:01 +01:00
ms
0e28865018
comment 2021-02-25 14:58:36 +01:00
MS
d384bd5c62
TWG, payments reversal testing.
Up to the point where the payments to be reversed get
created via the native Sandbox API, instead of the add-incoming
API, that got recently removed from the Nexus implementation.
2021-02-15 20:28:09 +01:00
MS
7a2ab04da8
TWG refund tests.
Arriving to the point where Libeufin services get
launched and configured with multiple users.  The
configuration provides: bank accounts, bank connections
and facades; all being created via the abstraction
"bundling" layer of one Libeufin 'user'.
2021-02-15 10:43:05 +01:00
MS
118975fee3
randomize IBAN for tests 2021-02-12 21:51:09 +01:00