0g-chain/cli_test
rhuairahrighairigh 436c48c8d2 resolve TODOs
2019-09-27 14:05:21 -04:00
..
cli_test.go resolve TODOs 2019-09-27 14:05:21 -04:00
README.md fix simulations 2019-09-12 14:27:13 -04:00
test_helpers.go update cli tests 2019-09-12 12:19:13 -04:00

CLI Integration tests

Run the full suite:

make build
go test -v -p 4 ./cli_test -tags cli_test

-v for verbose, -p 4 to use 4 cores, -tags cli_test a build tag (specified in cli_test.go) to tell go not to ignore the package

NOTE: While the full suite runs in parallel, some of the tests can take up to a minute to complete

NOTE: The tests will use the kvd or kvcli binaries in the build dir. Or in $BUILDDIR if that env var is set.