0

We can test our smart contract in remix and can perform several workflow checks before putting the contract in the final sol file in the dapp project. This way we can ensure that everything is in place and executing as expected. Then why do we need a test.js file separately to put a check on the contract?

3
  • How other people would know if you have tested your contract at all if you do not publish tests? Dec 30, 2020 at 9:51
  • okay, i got it. But if i am building a self project then can i avoid creating a seperate test.js file? Dec 30, 2020 at 11:57
  • If there are no other users for your project then it really does not matter. Dec 30, 2020 at 15:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.