testing/

directory
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0

README

Prysm Testing

Special bazel tags:

  • "CI_race_detection": Apply this tag to test targets that want to run with race detection in CI.

Directories

Path Synopsis
Package benchmark contains useful helpers for pregenerating filled data structures such as blocks/states for benchmarks.
Package benchmark contains useful helpers for pregenerating filled data structures such as blocks/states for benchmarks.
bls
components
Package components defines utilities to spin up actual beacon node and validator processes as needed by end to end tests.
Package components defines utilities to spin up actual beacon node and validator processes as needed by end to end tests.
evaluators
Package evaluators defines functions which can peer into end to end tests to determine if a chain is running as required.
Package evaluators defines functions which can peer into end to end tests to determine if a chain is running as required.
helpers
Package helpers defines helper functions to peer into end to end processes and kill processes as needed.
Package helpers defines helper functions to peer into end to end processes and kill processes as needed.
params
Package params defines all custom parameter configurations for running end to end tests.
Package params defines all custom parameter configurations for running end to end tests.
types
Package types includes important structs used by end to end tests, such as a configuration type, an evaluator type, and more.
Package types includes important structs used by end to end tests, such as a configuration type, an evaluator type, and more.
middleware
engine-api-proxy
Package proxy provides a proxy middleware for engine API requests between Ethereum consensus clients and execution clients accordingly.
Package proxy provides a proxy middleware for engine API requests between Ethereum consensus clients and execution clients accordingly.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
slasher
spectest
general/phase0/bls
Package bls includes tests to ensure conformity with the Ethereum BLS cryptography specification.
Package bls includes tests to ensure conformity with the Ethereum BLS cryptography specification.
shared/phase0/shuffling/core/shuffle
Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.
Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.
utils
Package utils allows for easy switching of chain configuration parameters in spec conformity unit tests.
Package utils allows for easy switching of chain configuration parameters in spec conformity unit tests.
Package validator_mock is a generated GoMock package.
Package validator_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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