How to setup neardevhub-contract locally and run #447
-
I am working on issue #11 for which I need to add |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The most efficient solution would be creating a new test module in the Another option is to deploy your own contract instance on testnet, which will also act as a demo environment, that you can link in your PR's description in order to make the acceptance process easier for reviewers. Notice that in this case, you need to deploy the widgets as well. |
Beta Was this translation helpful? Give feedback.
Hi @Rishabhraghwendra18.
The most efficient solution would be creating a new test module in the
/tests
directory of the contract repo and executingcargo test
. You can use the migration test module as an example. It's worth mentioning that we encourage contributors to write tests for any update that adds new functionalities, so I would consider this step as mandatory.Another option is to deploy your own contract instance on testnet, which will also act as a demo environment, that you can link in your PR's description in order to make the acceptance process easier for reviewers. Notice that in this case, you need to deploy the widgets as well.