Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.25 KB

build.md

File metadata and controls

44 lines (33 loc) · 1.25 KB

VC services - Build

Prerequisites

  • Go 1.19

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 testnet.orb.local
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