- Go 1.16
- Go 1.16
- Docker
- Docker-Compose
- Make
- bash
- Node.js (note: installation via nvm is recommended to avoid errors due to local
path permissions when running certain
npm
commands (eg.npm link
). Otherwise, assign the proper permissions to the user account runningnpm
)
# 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
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:
- run
make unit-test
or - cd into
pkg/didcomm/transport/http/
and rungo generate
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
.