Client
contains http client, apiUrl and AccountApiServiceAccountApi
is a field inClient
, it usesClient
's http client andApiUrl
- Requests timeout is supported and should be used as
context
- Github Actions are used for CI
- e2e tests limited to capabilities of provided server
mockhttp
is used to mock non-standard http error codes (102, 410, ...)- some possible paths to errors are not covered with tests (coverage = 84%)
Tests are executed as a github action on every push.
Locally tests can be executed two ways:
- Using
Makefile
$ make tests
- Using
act
to run github actions locally- Install act
$ act
(in repo root)