Automated Tests for RPC endpoints #253 (#257)

* add RPC integration script that run all tests for ethermint rpc endpoints, 
updated tester_test.go to rpc_test.go and moved it to package tests
This commit is contained in:
thomasmodeneis
2020-04-21 21:37:10 +02:00
committed by GitHub
parent 5b2f068a03
commit 729e93f8a8
3 changed files with 222 additions and 15 deletions
+4
View File
@@ -149,6 +149,9 @@ test-import:
test-rpc:
@${GO_MOD} go test -v --vet=off ./rpc/tester
it-tests:
./scripts/integration-test-all.sh -q 1 -z 1 -s 10
godocs:
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint"
godoc -http=:6060
@@ -163,5 +166,6 @@ format:
@find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs gofmt -w -s
@find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs misspell -w
.PHONY: build install update-tools tools godocs clean format lint \
test-cli test-race test-unit test test-import