Commit Graph

108 Commits

Author SHA1 Message Date
Jonathan Rainville 86f1cf51d2 enable node=embark 2018-08-23 12:54:43 -04:00
Jonathan Rainville 3f561f5257 use node option for tests 2018-08-22 16:46:39 -04:00
Iuri Matias 53cd27b87d move subscriptions listener to blockchain connector module 2018-08-21 16:09:48 -04:00
Anthony Laibe 27933774a9 Console command connect to ipc 2018-08-21 16:09:48 -04:00
Andre Medeiros 253d3dd57c wip 2018-08-21 16:09:13 -04:00
Jonathan Rainville c225d97e4b fix reload file removing plugins 2018-08-21 16:07:59 -04:00
Anthony Laibe 326a730969 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-21 16:07:58 -04:00
Iuri Matias 016f45175b remove unsused require 2018-08-21 16:07:58 -04:00
Iuri Matias 95c945c238 refactor test deployment to not use engine directly 2018-08-21 16:05:59 -04:00
Iuri Matias 600d686342 requests instead of contract object directly 2018-08-21 16:05:59 -04:00
Anthony Laibe 71c5b75198 Reset service local 2018-08-21 16:05:59 -04:00
Anthony Laibe 24aecc553b Reset account 2018-08-21 16:05:59 -04:00
Anthony Laibe d385398fb3 Make sure config is called at least once 2018-08-21 16:05:59 -04:00
Anthony Laibe 9ed162bc26 Change connection 2018-08-21 16:05:59 -04:00
Anthony Laibe 2e9fa345be Do not connect to the node until it is needed in test 2018-08-21 16:04:22 -04:00
Iuri Matias 4919114f36 move blockchain connection code to its own module 2018-08-21 16:04:22 -04:00
Iuri Matias b0a71a86d4 move accountParser to utils 2018-08-21 16:04:22 -04:00
Iuri Matias 40e58dbcf2 move deployment to a module 2018-08-21 16:03:35 -04:00
Iuri Matias 499a3b5609 set gas limit through event 2018-08-21 16:03:35 -04:00
Michael Bradley, Jr dab0b04b0a require embark_node file -> require 'embarkjs' pkg 2018-08-21 15:47:05 -04:00
Jonathan Rainville 2424408b18 fix provider 2018-08-21 15:30:10 -04:00
Jonathan Rainville a81ed322d1 fix conflict in test and provider 2018-08-21 15:30:10 -04:00
Jonathan Rainville 5ccd8f6333 display gas cost of each test 2018-08-21 15:30:10 -04:00
Jonathan Rainville d0851d70ba set color of gas cost 2018-08-21 15:30:10 -04:00
Jonathan Rainville 26243e21e0 remove provider-engine as it has been creating lots of issues 2018-08-21 15:28:02 -04:00
Jonathan Rainville 01900f8c6e wip fixes 2018-08-21 15:26:31 -04:00
Jonathan Rainville 565a3af102 stop provider when reseting providers 2018-08-21 15:03:34 -04:00
Jonathan Rainville 86d8a30c15 fix tests using new dependencies 2018-08-21 15:03:34 -04:00
Jonathan Rainville 2575cd7f62 set default balance when no one is there with simulator 2018-07-06 10:27:05 -04:00
Iuri Matias 650eb5e359 disable ipc client 2018-06-19 17:33:24 -04:00
Jonathan Rainville 1a91f3c688 ping endpoint before connecting to see if available 2018-06-19 09:24:36 -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
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 8fa7357d07 fix default from and data; add single test spec 2018-06-07 20:20:24 -04:00
Jonathan Rainville cbe456bf1e remove useless config 2018-06-07 16:09:54 -04:00
Jonathan Rainville a6a5bac053 use new provider when using account with a node specified 2018-06-07 16:07:58 -04:00