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

Investigate and implement mocks in tests for better abstraction #807

Open
lumtis opened this issue May 19, 2022 · 0 comments
Open

Investigate and implement mocks in tests for better abstraction #807

lumtis opened this issue May 19, 2022 · 0 comments
Labels
test Improve tests

Comments

@lumtis
Copy link
Contributor

lumtis commented May 19, 2022

Different module message/state transition depends on other module interfaces.
Example: campaign's MsgInitializeMainnet creates a chain launch module

For better abstraction, we should investigate and work on mocking ability for messages and queries depending on other modules

  • List all messages with external module dependency
  • Specify mock implementation
  • Create tasks accordingly for the different mocks and changes to make in tests. Sperate by messages or eventually by modules
@lumtis lumtis added the test Improve tests label May 19, 2022
@lumtis lumtis added this to the Test Refactoring milestone May 26, 2022
@lumtis lumtis removed this from the Test Refactoring milestone Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Improve tests
Projects
None yet
Development

No branches or pull requests

1 participant