Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(e2e): modular test runner #1999

Merged
merged 58 commits into from
Jul 8, 2022
Merged

refactor(e2e): modular test runner #1999

merged 58 commits into from
Jul 8, 2022

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Jul 8, 2022

Part of: #1879

What is the purpose of the change

  • Abstractions for chain configuration are introduced
    • baseConfigurer, CurrentBranchConfigurer and UpgradeConfigurer
    • The desired configurer is initialized with the use of a factory design pattern
  • e2e test runner setup is abstracted depending on what the user requests with environment variables
    • Use decorator design pattern to chain the desired setup logic, could be:
      • withIBC
      • withUpgrade
      • withStateSync (in the future)
  • Chain abstraction for executing transactions and querying against the chain directly.

The original work was done here: #1591

Testing and Verifying

This change is a trivial rework / code cleanup without any test coverage.

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
  • How is the feature or change documented? not applicable

@github-actions github-actions bot added C:docs Improvements or additions to documentation T:CI labels Jul 8, 2022
@github-actions github-actions bot removed the T:CI label Jul 8, 2022
@p0mvn p0mvn mentioned this pull request Jul 8, 2022
@p0mvn p0mvn marked this pull request as ready for review July 8, 2022 00:44
@p0mvn p0mvn requested a review from a team July 8, 2022 00:44
Copy link
Member

@czarcas7ic czarcas7ic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! All looks good from my end! 🚀

tests/e2e/README.md Outdated Show resolved Hide resolved
tests/e2e/README.md Outdated Show resolved Hide resolved
tests/e2e/configurer/base.go Outdated Show resolved Hide resolved
tests/e2e/configurer/chain/commands.go Show resolved Hide resolved
tests/e2e/configurer/chain/queries.go Outdated Show resolved Hide resolved
tests/e2e/configurer/chain/queries.go Outdated Show resolved Hide resolved
@ValarDragon ValarDragon merged commit 05375f8 into main Jul 8, 2022
@ValarDragon ValarDragon deleted the roman/e2e-skip branch July 8, 2022 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:docs Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants