Commit Graph

126 Commits

Author SHA1 Message Date
Anthony Laibe 53585cba50 Fix connection to IPC
- Make sure the folder .embark exist otherwise the first time there is a
run, the connection abort
- Fix the number of args in the callback function
2018-08-07 16:37:46 +01:00
Iuri Matias 2dc6ad218f
Merge pull request #641 from embark-framework/features/avoid-ganache-require
In test, try to connect to node first
2018-07-31 08:43:30 -04:00
Anthony Laibe 353b04d0f4 Reset service local 2018-07-31 11:17:50 +01:00
Anthony Laibe dbb46ad7dc Reset account 2018-07-31 11:15:49 +01:00
Anthony Laibe 50fc3d8846 Make sure config is called at least once 2018-07-31 10:48:04 +01:00
Anthony Laibe ec9949d70e Change connection 2018-07-31 10:16:56 +01:00
Anthony Laibe 4b119918c3 Do not connect to the node until it is needed in test 2018-07-30 09:32:46 +01:00
Iuri Matias 176f6dc84b move blockchain connection code to its own module 2018-07-27 16:54:33 -04:00
Iuri Matias b35d034692 move accountParser to utils 2018-07-27 15:18:21 -04:00
Iuri Matias cd2e87f4b6 move deployment to a module 2018-07-27 15:18:21 -04:00
Iuri Matias 3812518268 set gas limit through event 2018-07-27 15:18:21 -04:00
Michael Bradley, Jr 05f5a93a1f require embark_node file -> require 'embarkjs' pkg 2018-07-25 16:01:48 -05:00
Jonathan Rainville 2077f88312 fix provider 2018-07-06 15:30:16 -04:00
Jonathan Rainville c832b24e2a fix conflict in test and provider 2018-07-06 15:16:04 -04:00
Jonathan Rainville 8ec5d53aa4 display gas cost of each test 2018-07-06 15:11:19 -04:00
Jonathan Rainville 555e1f3c9e set color of gas cost 2018-07-06 15:11:18 -04:00
Jonathan Rainville 2648d0536e add option to show details of gas cost for each contract 2018-07-06 15:11:18 -04:00
Jonathan Rainville 18fa4307d7 log gas cost at the end of each suite 2018-07-06 15:11:18 -04:00
Jonathan Rainville c7876bc7cd add reporter with event to get receipt 2018-07-06 15:11:18 -04:00
Jonathan Rainville 415df3312f fix webserver errors 2018-07-06 14:43:01 -04:00
Jonathan Rainville 66b7d50d61 remove provider-engine as it has been creating lots of issues 2018-07-03 16:39:17 -04:00
Jonathan Rainville 92c8f00ba8 wip fixes 2018-06-29 17:09:19 -04:00
Jonathan Rainville 1e36950e24 stop provider when reseting providers 2018-06-22 13:19:32 -04:00
Iuri Matias 109e5171c4
Merge pull request #566 from embark-framework/features/para-deploy
Async contract deploy (parallel deploy prequel)
2018-06-20 16:57:24 -04:00
Jonathan Rainville 150b5170c4 fix tests using new dependencies 2018-06-20 13:56:43 -04:00
Iuri Matias 650eb5e359 disable ipc client 2018-06-19 17:33:24 -04:00
Jonathan Rainville c1f29fdea4 fix test directory without ending slash 2018-06-19 10:58:09 -04:00
Jonathan Rainville 1a91f3c688 ping endpoint before connecting to see if available 2018-06-19 09:24:36 -04:00
Iuri Matias 329af9f348 warn about EmbarkSpec deprecation 2018-06-18 12:46:39 -04:00
Jonathan Rainville 55bd69baa5 rmeove logs 2018-06-15 15:18:39 -04:00
Jonathan Rainville f32ac90e71 enable connecting to ws node in tests 2018-06-15 15:16:55 -04:00
Jonathan Rainville 8205f91802 enable loglevel for test logger and actually log 2018-06-13 09:44:19 -04:00
Jonathan Rainville 0f84fe2127 fix callback 2018-06-12 15:32:38 -04:00
Jonathan Rainville ef5e1e2707 stop test execution if file doesn't exist 2018-06-12 15:12:50 -04:00
Iuri Matias 03870953a7
Merge pull request #508 from embark-framework/test_fixes
warn if configured account has no funds
2018-06-12 12:10:05 -04:00
Iuri Matias 56724aecd4 lint is king 2018-06-11 17:22:08 -04:00
Iuri Matias 20acb5425f remove comment 2018-06-11 16:34:41 -04:00
Iuri Matias 4aab8cd374 warn if configured account has no funds 2018-06-11 14:39:17 -04:00
Iuri Matias 6b26f2a9d7 set default gas 2018-06-11 13:37:06 -04:00
Iuri Matias 8783f04a9c add node version of embarkjs to avoid export issues with webpack.. (for now...) 2018-06-10 12:55:59 -04:00
Iuri Matias c4ca4e52b8 support embarkjs in the tests 2018-06-10 12:11:34 -04:00
Iuri Matias cdfa30ebd2 remove listeners correctly 2018-06-08 12:51:04 -04:00
Iuri Matias 1b6ac99ea2 remove listeners to avoid leaks 2018-06-08 12:30:44 -04:00
Iuri Matias 2efea55d2b lint is king 2018-06-08 06:17:51 -04:00
Iuri Matias ede4926069 don't continue testing file if there was deploy errors; avoids unrelated errors for each 'it' 2018-06-08 06:14:46 -04:00
Iuri Matias edbbaa160b make config params optional 2018-06-07 20:21:01 -04:00
Iuri Matias 402ee19722 default contracts fields 2018-06-07 20:20:24 -04:00
Iuri Matias 1c6df9db8d remove data parameter 2018-06-07 20:20:24 -04:00
Iuri Matias c1590d0b48 change deploy to beforeAll, so it takes priority over the test before 2018-06-07 20:20:24 -04:00
Iuri Matias 8fa7357d07 fix default from and data; add single test spec 2018-06-07 20:20:24 -04:00