Commit Graph

160 Commits

Author SHA1 Message Date
Cryptomental 0483920421
cmd, run_tests: Add --nobrowser option for runCoverage.
Do not start browser during coverage run when --nobrowser option is passed.

Refs: https://github.com/embark-framework/embark/issues/941
2018-10-22 19:25:18 +02:00
Anthony Laibe b1df72be3f Update text 2018-09-19 13:46:39 +01:00
Anthony Laibe 2a61857990 Display warning for gas price 2018-09-19 12:02:33 +01:00
Andre Medeiros 7746404905 Match coverage path 2018-09-17 15:25:07 -04:00
Iuri Matias fade54fca4
Merge pull request #852 from embark-framework/improve-coverage-ux
Improve coverage UX
2018-09-17 14:18:27 -04:00
Andre Medeiros b021d99bab Improve coverage UX 2018-09-17 10:37:24 -04:00
Anthony Laibe 18a9349d77 Gas Price not modified by coverage 2018-09-17 14:12:20 +01:00
Iuri Matias e3273b7867
Merge pull request #835 from embark-framework/fix-coverage-timing
Update coverage report after suite
2018-09-14 18:18:24 -04:00
Iuri Matias 3c167b197c
Merge pull request #823 from embark-framework/features/embark-help-addition
`embark test —node` help, plus fix for vm option
2018-09-14 18:13:07 -04:00
Andre Medeiros a8a9f3e9a8 Setup coverage to listen to the test embark events
This allows us to catch an event to know when the tests are done running. In turn, this will tell us when to save the coverage file and run the report.
2018-09-14 16:31:40 -04:00
Jonathan Rainville 293fce63a9 add thens to catch errors 2018-09-13 15:56:36 -04:00
Jonathan Rainville 43a9640297 add option to generate the coverage 2018-09-13 14:30:15 -04:00
emizzle 60703b86c5 `embark test —node` help, plus fix for vm option
Add better help info for `embark test —node`.

Fixed issue with `embark test —node vm` where the `vm` was attempted to be parsed as a URL instead of running the simulator.
2018-09-13 20:34:58 +10:00
Andre Medeiros 29c1ea39f8 Address feedback 2018-09-11 14:50:43 -04:00
Andre Medeiros 799a87f35e Clean up; Lint 2018-09-11 14:32:40 -04:00
Iuri Matias 4f50229beb temp/poc for eth_call coverage 2018-09-11 14:32:40 -04:00
Anthony Laibe 32a6b53c6a Add missing callback 2018-09-10 17:05:11 +01:00
Anthony Laibe 68ef5454e0 Avoid multiple connect to IPC 2018-09-10 11:52:06 +01:00
Anthony Laibe c92f6f8865 Fix dynamic IPC 2018-09-05 10:40:37 +01:00
Iuri Matias 9912c71b6f cleanup 2018-09-01 09:35:14 -04:00
Iuri Matias 262a6d3aef move older code to embarkjs & refactor 2018-09-01 09:35:13 -04:00
Andre Medeiros 05dea5844a Fix the way we pass compiler options instead of assuming via the environment 2018-08-30 13:27:18 -04:00
Andre Medeiros 5dcd679e12 Add for loops and variable declarations; Coverage improvements 2018-08-28 11:27:37 -04:00
Iuri Matias a0d864b8ae
Merge pull request #746 from embark-framework/bug_fix/tests-ws-bug
Fix test_app with a WS node
2018-08-24 15:53:54 -04:00
Jonathan Rainville 13e0d453ae fix websocket test, but still some hangs on second test run 2018-08-24 12:09:38 -04:00
Iuri Matias ffbd39882a remove isTest 2018-08-24 09:25:47 -04:00
Jonathan Rainville 36c6de4b99 add error message if no connection 2018-08-23 13:01:22 -04:00
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