Integration tests are categorized into files as follows:
setup.go
- setup for the integration testscommon.go
- helper functionsvalset_update.go
- integration tests for the Validator Set Update sub-protocolunbonding.go
- integration tests for the Completion of Unbonding Operationsslashing.go
- integration tests for the Consumer Initiated Slashing sub-protocoldistribution.go
- integration tests for the Reward Distribution sub-protocolstop_consumer.go
- integration tests for the Consumer Chain Removal sub-protocolnormal_operations.go
- integration tests for normal operations of ICS enabled chainsquery_providerinfo_test.go
- integration tests for theGetProviderInfo
methodchangeover.go
- integration tests for reuse of existing transfer channelsdouble_vote.go
- integration tests for the handling of double votingmisbehavior.go
- integration tests for the handling of misbehaviorspartial_set_security_test.go
- integration tests for the partial set securityexpired_client.go
- integration tests for expired clientskey_assignment.go
- integration tests for key assignmentinstance_test.go
- ties the integration test structure into golang's standard test mechanism, with appropriate definitions for concrete app types and setup callback
To run the integration tests defined in this repo on any arbitrary consumer and provider implementation, copy the pattern exemplified in instance_test.go
and specific_setup.go