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

BCFR-967 - Basic support for method writing and reading - Add logic to enable/disable test cases for chain components common test suite #829

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pablolagreca
Copy link

@pablolagreca pablolagreca commented Oct 3, 2024

As part of adding basic support for generating EVM bindings for CR/CW for solidity contracts we add functionality to be able to disable test cases not yet supported by a partial implementation so we can commit incremental changes without having full support from day one.

solana ref: BCFR-966

Farber98
Farber98 previously approved these changes Oct 3, 2024
Copy link
Contributor

@Farber98 Farber98 left a comment

Choose a reason for hiding this comment

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

see this really useful!

Copy link
Contributor

@ilija42 ilija42 left a comment

Choose a reason for hiding this comment

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

the approach looks fine, can you modfiy the EVM or Solana tests to use this?
EDIT: Just saw that there is a Solana PR, just added it to the description

Copy link
Contributor

@ilija42 ilija42 left a comment

Choose a reason for hiding this comment

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

Shouldn't enabledTests be exported so that the relayers can have a list of enabled tests?

name string
test func(t T)
type TestSelectionSupport struct {
enabledTests map[string]bool
Copy link
Contributor

@ilija42 ilija42 Oct 7, 2024

Choose a reason for hiding this comment

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

maybe its more intuitive if we call this disabledTests, since the default state is enabled?

ilija42
ilija42 previously approved these changes Oct 31, 2024
Farber98
Farber98 previously approved these changes Oct 31, 2024
Pablo La Greca and others added 2 commits November 5, 2024 15:32
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.

4 participants