Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.09 KB

build.md

File metadata and controls

44 lines (33 loc) · 1.09 KB

Aries Framework Go - Build

Prerequisites (General)

  • Go 1.13

Prerequisites (for running tests and demos)

  • Go 1.13
  • Docker
  • Docker-Compose
  • Make

Targets

# run all the project build targets
make all

# run linter checks
make checks

# run unit tests
make unit-test

# run unit tests for wasm
# requires chrome to be installed
make unit-test-wasm

# run bdd tests
make bdd-test

Crypto material generation for tests

For unit-tests, crypto material is generated under pkg/didcomm/transport/http/testdata folder using the openssl tool.

If you wish to regenerate it, you can delete test data folder and:

  1. run make unit-test or
  2. cd into pkg/didcomm/transport/http/ and run go generate

Verifiable Credential Test Suite

Install Node.js and mocha prior to running the test suite.

To test compatibility of the verifiable credential packages with W3C Verifiable Claims Working Group Test Suite, run make vc-test-suite. The result of the test suite is generated as vc-test-suite/suite/implementations/aries-framework-go-report.json.