-
Notifications
You must be signed in to change notification settings - Fork 2.3k
beta2: truffle migrate
and truffle test
do not fire up default test environment
#643
Comments
Did you change your networks to 9545 in the truffle.js? |
Hi @brianedelman , just checked this with port 9545 and with port 8546. Same behaviour as described by @SCBuergel . It seems that migration and test scripts are only running under development console (truffle develop). |
Ah yes. I have been running |
Hi @brianedelman , this is exactly the missing piece for me, now i can use it like ethereumjs-testrpc before. Just start another terminal and fire |
Will truffle test run an in memory testrpc by default as described in #490? |
Tests written in Solidity seems to be working as expected, but JavaScript tests are not? I wrote some same tests as
BTW I'm newbie in truffle and ethereum, hope my info helps. |
https://medium.com/etherereum-salon/eth-testing-472c2f73b4c3 follow these steps. |
Its port 8545 on which testrpc runs, so specify that in your truffle.js. Moreover, in another powershell window just initiate test rpc via this command : testrpc. Hope this works ! |
Thank you for raising this issue! It has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you would like to keep this issue open, please respond with information about the current state of this problem. |
There has been no new activity on this issue since it was marked as stale 7 days ago, so it is being automatically closed. If you'd like help with this or a different problem, please open a new issue. Thanks! |
I am running the truffle beta2 on MacOS. I started with the default project:
The last two commands give me the following error output:
I expected this to behave in the same way as
migrate
andtest
inside thetruffle develop
console - which works without a problem in the very same folder.The text was updated successfully, but these errors were encountered: