-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
601 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
## End To End Testing | ||
|
||
# End To End Testing | ||
|
||
E2e tests are categorized into files as follows: | ||
|
||
- `setup_test.go` - setup for the e2e tests | ||
- `common_test.go` - helper functions | ||
- `channel_init_test.go` - e2e tests for the _Channel Initialization_ sub-protocol | ||
- `valset_update_test.go` - e2e tests for the _Validator Set Update_ sub-protocol | ||
- `unbonding_test.go` - e2e tests for the _Completion of Unbonding Operations_ | ||
- `slashing_test.go` - e2e tests for the _Consumer Initiated Slashing_ sub-protocol | ||
- `distribution_test.go` - e2e tests for the _Reward Distribution_ sub-protocol | ||
- `stop_consumer_test.go` - e2e tests for the _Consumer Chain Removal_ sub-protocol | ||
- `normal_operations_test.go` - e2e tests for _normal operations_ of ICS enabled chains | ||
- `setup.go` - setup for the e2e tests | ||
- `common.go` - helper functions | ||
- `channel_init.go` - e2e tests for the _Channel Initialization_ sub-protocol | ||
- `valset_update.go` - e2e tests for the _Validator Set Update_ sub-protocol | ||
- `unbonding.go` - e2e tests for the _Completion of Unbonding Operations_ | ||
- `slashing.go` - e2e tests for the _Consumer Initiated Slashing_ sub-protocol | ||
- `distribution.go` - e2e tests for the _Reward Distribution_ sub-protocol | ||
- `stop_consumer.go` - e2e tests for the _Consumer Chain Removal_ sub-protocol | ||
- `normal_operations.go` - e2e tests for _normal operations_ of ICS enabled chains | ||
- `instance_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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.