truffle test doesn't work in demo
See original GitHub issueSame error as here: https://github.com/ConsenSys/dao-wars/issues/1
Edit: to be clear, by “demo” I mean what’s created by truffle init
.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
solidity - Test not working in truffle - Ethereum Stack Exchange
Got his error when run truffle test
Read more >is not contract address during truffle test - Stack Overflow
I made 2 small changes in your contract: I added public keyword. It's good practice to always define the visibility of your function....
Read more >Truffle quickstart - Truffle Suite
Open the test/metacoin.js file. This is a test file written in JavaScript which performs a similar function to the Solidity test above. The...
Read more >Test Driven Solidity with Truffle | by Muhammad Yahya - Medium
This test is specified at line 23. If we run the $ truffle test command again, we see that the test is passed....
Read more >Truffle Tutorial for Beginners | Compile, Test & Deploy Smart ...
If playback doesn't begin shortly, try restarting your device. Your browser can't play this ... SafetyHow YouTube worksTest new features.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
EtherPudding is a contract abstraction on top of web3’s contract abstraction. The readme should do a pretty good job of explaining it: https://github.com/ConsenSys/ether-pudding . In case it doesn’t, the main features are 1) Promises, for clean code, and 2) ability to keep your app’s control flow in sync with the network (i.e., you don’t get your callback until your transaction is mined). There are a few other features, but they’re tangential.
TestRPC and Ethersim are two solutions to the same problem (both of which I have contributed heavily). That problem is productivity: waiting 17 seconds per transaction to see if your code works is a productivity killer. So both of these projects run an Ethereum VM without mining or network and process transactions immediately, simulating the real effects of the blockchain, but much faster. TestRPC is written in Python, Ethersim in JS.
I’m switching my efforts to Ethersim as the JS solution seems to be more stable (at least, my command of JS is greater). They’re nearly feature equivalent, though Ethersim lags behind a few RPC calls. I hope to fill those out soon.
FYI, just verified that this works on TestRPC aka eth-testrpc.
So, since this is not an intrinsic Truffle issue I’m closing this, and I opened a corresponding EtherSim issue: https://github.com/iurimatias/EtherSim/issues/6