ignite / cli

Ignite is a CLI tool and hub designed for constructing Proof of Stake Blockchains rooted in Cosmos-SDK
https://ignite.com
Other
1.26k stars 549 forks source link

Add an option to generate types without tests #1146

Open dshulyak opened 3 years ago

dshulyak commented 3 years ago

As suggested in https://github.com/tendermint/starport/pull/1137#pullrequestreview-662014633 we should be able to generate types without tests.

aljo242 commented 2 years ago

@ilgooz @fadeev @lubtd do we still think this would be useful? Personally, I do not find this useful. Our tool should be funneling people towards best practices.

lumtis commented 2 years ago

I would say Ignite should behave under the best practice by default but we still give the option to make the scaffolding as minimal as possible. For the basic keeper methods to interact with the type, the tests are straightforward but some commands like for for the tests for message the scaffolded tests might have a structure the user doesn't want to use, if they already have a custom test suite framework for example

salmad3 commented 9 months ago

Recently added an option to scaffold a minimal chain (https://github.com/ignite/cli/pull/3835). We can work off this to include an option to exclude tests when generating types.