This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
Testing
Taylor Gerring edited this page Apr 20, 2015
·
17 revisions
This page assumes go-ethereum has been configured according to the Developers Guide. All commands (unless stated otherwise) are assumed to be run from $GOPATH/src/github.com/ethereum/go-ethereum
See Travis or Coveralls for status.
Test the full codebase locally by changing to the repository directory and running
test ./...
Integration tests for Go are included in the tests
directory and can be run with standard go testing (i.e. go test
). To run all the integration tests simply run:
go test ./tests/
go test ./tests/transaction_test.go
go test ./tests/block_test.go
- Load test JSON with
geth blocktest <pathToTheTestRepo>/BlockTests/bcJS_API_Test.json JS_API_Tests rpc
- Run rpc-tests (https://github.com/ethereum/rpc-tests#usage)
❤️ Stay Classy