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

Comments and better panic prints for e2e tests #660

Merged
merged 4 commits into from
Feb 2, 2023
Merged

Conversation

shaspitz
Copy link
Contributor

@shaspitz shaspitz commented Jan 11, 2023

Description

Adds comments and panic prints for issues similar to duality-labs/duality#281. This will allow consumer chain devs to more easily know about an issue with e2e tests running against their consumer implementation.

Type of change

  • Refactor: Changes existing code style, naming, structure, etc.

Regression tests

E2e tests still pass

New behavior tests

n/a

providerToReturn, ok := provider.App.(T)
if !ok {
panic(fmt.Sprintf("provider app type returned from app initer does not match app type passed in as type param: %T, %T",
provider.App, *new(T)))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shaspitz shaspitz changed the title changes Comments and better panic prints for incorrectly setup e2e tests Jan 11, 2023
@shaspitz shaspitz changed the title Comments and better panic prints for incorrectly setup e2e tests Comments and better panic prints for e2e tests Jan 11, 2023
@shaspitz shaspitz marked this pull request as ready for review January 11, 2023 21:26
@shaspitz shaspitz merged commit 3e8772a into main Feb 2, 2023
@shaspitz shaspitz deleted the e2e-dev-improvements branch February 2, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants