Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.38 KB

build.md

File metadata and controls

47 lines (36 loc) · 1.38 KB

VC services - Build

Prerequisites

  • Go 1.22

Prerequisites for Tests

Targets

# run checks and unit tests
make all

# run linter checks
make checks

# run unit tests
make unit-test

# run checks and unit tests
make all
    
# run BDD tests
make bdd-test

BDD Test Prerequisites

To run BDD tests (make bdd-test) you need to modify your hosts file (/etc/hosts on *NIX) to add the following lines, to allow a few of the bdd test containers to be connected to externally.

127.0.0.1 vault.kms.example.com
127.0.0.1 metrics.example.com
127.0.0.1 vc-rest-echo.trustbloc.local
127.0.0.1 file-server.trustbloc.local
127.0.0.1 did-resolver.trustbloc.local
127.0.0.1 oidc-provider.example.com
127.0.0.1 api-gateway.trustbloc.local
127.0.0.1 cognito-mock.trustbloc.local
127.0.0.1 mock-login-consent.example.com
127.0.0.1 cognito-auth.local
127.0.0.1 mock-trustregistry.trustbloc.local
127.0.0.1 mock-attestation.trustbloc.local