# README
End To End Testing
E2e tests are categorized into files as follows:
setup.go
- setup for the e2e testscommon.go
- helper functionschannel_init.go
- e2e tests for the Channel Initialization sub-protocolvalset_update.go
- e2e tests for the Validator Set Update sub-protocolunbonding.go
- e2e tests for the Completion of Unbonding Operationsslashing.go
- e2e tests for the Consumer Initiated Slashing sub-protocoldistribution.go
- e2e tests for the Reward Distribution sub-protocolstop_consumer.go
- e2e tests for the Consumer Chain Removal sub-protocolnormal_operations.go
- e2e tests for normal operations of ICS enabled chainsexpired_client.go
- e2e tests for testing expired clientskey_assignment.go
- e2e tests for testing key assignmentinstance_test.go
- ties the e2e test structure into golang's standard test mechanism, with appropriate definitions for concrete app types and setup callback
To run the e2e tests defined in this repo on any arbitrary consumer and provider implementation, copy the pattern exemplified in instance_test.go
and specific_setup.go
# Functions
NewCCVTestSuite returns a new instance of CCVTestSuite, ready to be tested against using suite.Run().
NewCCVTestSuite returns a new instance of ConsumerDemocracyTestSuite, ready to be tested against using suite.Run().
# Structs
CCVTestSuite is an in-mem test suite which implements the standard group of tests validating the e2e functionality of ccv enabled chains.
No description provided by the author
# Type aliases
ChainType defines the type of chain (either provider or consumer).
Callback for instantiating a new coordinator, consumer test chain, and consumer app before every test defined on the suite.
Callback for instantiating a new consumer test chain and consumer app before every test defined on the suite.
Callback for instantiating a new coordinator with a provider test chains and provider app before every test defined on the suite.