This project is an HTTP client for fetching NodeInfo data.
Source code (golang) is under nodeinfo/. Integration tests are at internal/tests/.
make unit_test
# pass in some flags to "go test"
make unit_test ARGS='-count 1 -coverprofile /tmp/cover.out'Integration test requirements:
Run integration tests:
make integration_test
# By default, it will use the first go binary in your PATH.
# Specify a path to another golang version like so:
GO=/path/to/other/golang/version/bin make integration_testSome testdata is already committed to source control. Get new testdata and write to a temporary directory:
make fetch_integration_testdata