status-go/e2e
Alexander Ewetumo 8207a2724d Update usage of direct network id 2017-10-25 23:09:27 +01:00
..
accounts Update regards review 2017-10-25 23:07:50 +01:00
api Update usage of direct network id 2017-10-25 23:09:27 +01:00
jail Fix import usage for jail test 2017-10-24 11:50:10 +01:00
node Update regards review 2017-10-25 23:07:50 +01:00
rpc Update regards review 2017-10-25 23:07:50 +01:00
transactions Update regards review 2017-10-25 23:07:50 +01:00
whisper Fix errors on network chain id validation in tests 2017-10-23 18:18:09 +01:00
README.md Update regards review 2017-10-25 23:07:50 +01:00
suites.go Fix test to ensure consistency with checks 2017-10-24 11:35:13 +01:00
testing.go Update readme and update code for testing 2017-10-24 11:23:53 +01:00

README.md

e2e

This package contains all e2e tests divided into subpackages which represents (or should represent) business domains like transactions, chat etc.

These tests are run against public testnets: Ropsten and Rinkeby.

e2e package contains a few utilities which are described in a godoc.

Flags

1. -network

The -network flag is used to provide either a network id or network name which specifies the ethereum network to use for running all test. It by default uses the StatusChain network.

Usage

To use the ropsten network for testing using network name:

go test -v ./e2e/... -network=ropsten

To use the rinkeby network with chain id 4 for testing:

go test -v ./e2e/... -network=4

Run

make test-e2e