tests

package
v1.8.0-rc.20 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: BSD-3-Clause Imports: 10 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetricsValue

func GetMetricsValue(url string, metrics ...string) (map[string]float64, error)

func LoadHexTestKeys added in v1.7.17

func LoadHexTestKeys(filePath string) (keys []*crypto.PrivateKeySECP256K1R, err error)

Loads a list of secp256k1 hex-encoded private keys from the file, new-line separated.

func Outf

func Outf(format string, args ...interface{})

Outputs to stdout.

e.g.,

Out("{{green}}{{bold}}hi there %q{{/}}", "aa")
Out("{{magenta}}{{bold}}hi therea{{/}} {{cyan}}{{underline}}b{{/}}")

ref. https://github.com/onsi/ginkgo/blob/v2.0.0/formatter/formatter.go#L52-L73

Types

This section is empty.

Directories

Path Synopsis
e2e
e2e implements the e2e tests.
e2e implements the e2e tests.
blueberry
Implements tests for the blueberry network upgrade.
Implements tests for the blueberry network upgrade.
ping
Implements ping tests, requires network-runner cluster.
Implements ping tests, requires network-runner cluster.
static-handlers
Implements static handlers tests for avm and platformvm
Implements static handlers tests for avm and platformvm
whitelist-vtx
Implements X-Chain whitelist vtx (stop vertex) tests.
Implements X-Chain whitelist vtx (stop vertex) tests.
x/transfer
Implements X-chain transfer tests.
Implements X-chain transfer tests.

Jump to

Keyboard shortcuts

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