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

Please add a test suite and a build script #32

Open
talkol opened this issue Oct 23, 2022 · 0 comments
Open

Please add a test suite and a build script #32

talkol opened this issue Oct 23, 2022 · 0 comments

Comments

@talkol
Copy link

talkol commented Oct 23, 2022

As official smart contracts by Telegram, future dapp developers are going to look up to your project and learn from it.

Please make the effort to educate them on what a proper dapp should look like.

These contracts manage money, it is reasonable to expect them to come with a test suite to show users who deposit money in them, that the contracts do what they're supposed to do. The test suite should be able to run on user's computers. This means that you will need to provide a build script to help users compile these contracts too.

I'm sure you know how to do all this, but if you need a good example - this is my template for the above: https://github.com/ton-defi-org/tonstarter-contracts

I also know that there are different methods of testing. I hope that you will choose ton-contract-executor method and write your tests in JavaScript - explanation why this is the superior method is available here: https://society.ton.org/ton-hello-world-guide-for-writing-first-smart-contract-in-func-part-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant