4 # These tests spawn the counter app and server by execing the ABCI_APP command and run some simple client tests against it
6 # Get the directory of where this script is.
7 SOURCE="${BASH_SOURCE[0]}"
8 while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
9 DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
11 # Change into that dir because we expect that.
15 ABCI_APP="counter" go run ./*.go
17 # test golang counter via grpc
18 ABCI_APP="counter -abci=grpc" ABCI="grpc" go run ./*.go
22 #ABCI_APP="node $GOPATH/src/github.com/tendermint/js-abci/example/app.js" go test -test.run TestCounter