Golang package provides services and utilities for PIOT infrastructure tools.
Run mongodb docker container:
docker-compose up -d mongodb
Run script
scripts/env.sh
to get IP address of mongo container and set env variable for piot serverRun tests (not in parallel since shared mongodb is used):
# all tests go test # tests for selected test case (matched against regexp) go test --run ShortNotation