status-go/e2e
Alexander Ewetumo 681a2d2d83 Skip test requiring network url for statuschain 2017-10-26 13:33:42 +01:00
..
accounts Skip test requiring network url for statuschain 2017-10-26 13:33:42 +01:00
api Swap GetNetworkIDHash/GetHeadHashForNetworkID 2017-10-25 23:24:01 +01:00
jail Fix import usage for jail test 2017-10-24 11:50:10 +01:00
node Skip test requiring network url for statuschain 2017-10-26 13:33:42 +01:00
rpc Skip test requiring network url for statuschain 2017-10-26 13:33:42 +01:00
transactions Skip test requiring network url for statuschain 2017-10-26 13:33:42 +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