Open Pantani opened 2 years ago
create a make or script command to fetch the cosmos-sdk and auto-generate the mocks for a module
make
eg:
make generate-sdk-mock ARGS="staking,bank" or ./scripts/generate-sdk-mock staking,bank
This command should clone the cosmos-sdk repo and run the mockery into the module folder.
This can be useful if the module updates or we need to add support to mock a new module.
also we should have a command to generate SPN mocks as well
make generate-spn-mock ARGS="profile,campaign" or ./scripts/generate-spn-mock campaign,launch
create a
make
or script command to fetch the cosmos-sdk and auto-generate the mocks for a moduleeg:
This command should clone the cosmos-sdk repo and run the mockery into the module folder.
This can be useful if the module updates or we need to add support to mock a new module.