Can anyone please let me know why I should work in truffle framework to test the contracts when I have access to Remix Ide.

2 Answers 2


With remix you can only deploy and test your smart contract.

While Truffle is not only for testing smart contracts other than that truffle provides features like automated contract testing, script runner that execute JS script within a truffle framework, network management for deploying to any number of public and private network, interactive console for direct smart contract communication, a configurable build pipeline with support for tight integration.

  • Ok. I got you . Can you also please let me know if there are any tutorials for learning truffle? Commented Mar 6, 2019 at 12:45
  • You can learn from their official documentation truffleframework.com/docs/truffle/overview , You can start with truffle boxes which contains helpful modules like solidity contracts, library & front-end views. It is a very good way to start learning truffle framework. Commented Mar 6, 2019 at 13:35

As a matter of fact remix should be by far preferable, and indeed I use it extensively, but at the moment truffle permit a best integration of tests and dapps.

On the other hand, the remix IDE permits a very fast prototyping and reduces the development time by far.

TODAY the best path is to develop as much as you can in remix, using (optionally !!!) truffle as final production environment for testing, deploying and coordinating the JavaScript Dapp development.

This will change and is changing, because the remix developer team is very reactive and fast in the integration of new facilities, and truffle begin to have less final advantage.

You should try to be fluent in both the environments, giving precedence to remix if you are developing simple applications (1-2 smart contracts interacting and a simple web interface or so or if you are mainly researching than assembling products), to truffle if your dapp is more production oriented (I.e. you need to test and deploy on test net and main net many many times with various revisions)

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.