status-go/e2e
Alexander Ewetumo d856660d09 Update readme and fix pointer bug 2017-10-23 17:28:12 +01:00
..
accounts Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
api Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
jail Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
node Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
rpc Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
transactions Fix missed call of StartTestBackend 2017-10-23 17:22:19 +01:00
whisper Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
README.md Update readme and fix pointer bug 2017-10-23 17:28:12 +01:00
suites.go Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
testing.go Update readme and fix pointer bug 2017-10-23 17:28:12 +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 mainnet network for testing using network name:

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

To use the ropsten network for testing using network id:

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

Run

make test-e2e