-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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!
There was a problem hiding this 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
There was a problem hiding this 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?
pkg/types/interfacetests/utils.go
Outdated
name string | ||
test func(t T) | ||
type TestSelectionSupport struct { | ||
enabledTests map[string]bool |
There was a problem hiding this comment.
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?
90a323c
to
c2c9a94
Compare
…o enable/disable test cases for chain components common test suites
f184abd
to
add2419
Compare
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