status-go/e2e
b00ris 9a3302ac36 Makes random panics on node manager tests less frequent (#433) 2017-11-07 12:43:49 -05:00
..
accounts Add -network flag for Makefile to chose a network to run tests on #430 2017-10-26 22:51:04 +03:00
api Refactor jail part 2 (#401) 2017-11-07 12:36:42 -05:00
jail Refactor jail part 2 (#401) 2017-11-07 12:36:42 -05:00
node Makes random panics on node manager tests less frequent (#433) 2017-11-07 12:43:49 -05:00
rpc Refactor jail part 2 (#401) 2017-11-07 12:36:42 -05:00
transactions Add -network flag for Makefile to chose a network to run tests on #430 2017-10-26 22:51:04 +03:00
whisper Refactor jail part 2 (#401) 2017-11-07 12:36:42 -05:00
README.md Update regards review 2017-10-25 23:07:50 +01:00
suites.go Add -network flag for Makefile to chose a network to run tests on #430 2017-10-26 22:51:04 +03: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