Commit Graph

119 Commits

Author SHA1 Message Date
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 17c5238847 add option to show details of gas cost for each contract 2018-08-21 15:30:10 -04:00
Jonathan Rainville 5b912262c5 log gas cost at the end of each suite 2018-08-21 15:30:10 -04:00
Jonathan Rainville bd369ec1a8 add reporter with event to get receipt 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 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
Iuri Matias 9f0ab86c2d
Merge pull request #497 from embark-framework/features/test-connect-node
Connect to a node in tests
2018-06-07 18:59:27 -04:00
Jonathan Rainville e902c86ed2 conflicts in tests 2018-06-07 16:14:42 -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
Jonathan Rainville 9c9bb761a4 add error when using deployAll 2018-06-07 13:01:13 -04:00
Jonathan Rainville bb3e87d85e move getBalance in accountParser 2018-06-07 13:01:12 -04:00
Jonathan Rainville 2a61b2251c use web3 utils function instead 2018-06-07 13:01:12 -04:00