e2e-polybft/

directory
v0.7.1-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: Apache-2.0

README

End-to-End testing

The implemented E2E tests start a local instance of Polybft consensus protocol.

As such, they require the binary 'polygon-edge' to be available in the $PATH variable.

Step 1: Build the polygon-edge

go build -race -o artifacts/polygon-edge . && mv artifacts/polygon-edge $GOPATH/bin

In this case we expect that $GOPATH is set and $GOPATH/bin is defined in $PATH as it is required for a complete Go installation.

Step 2: Run the tests

export E2E_TESTS=TRUE && go test -v ./e2e-polybft/...

To enable logs in the e2e test set E2E_LOGS=true.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL