Commit ff9be4d
Improve Local Testing experience (#114)
* Added local_mode and cli args.
Calculate local_identifier based on local_mode.
* Adding Local Binary start and stop logic
* Adding demand message for local-identifier and local-mode options
* Adding log messages for sync and local mode
* upgrading yargs and putting requiredArgs
* passed already failing 12 cases
* added new test cases for the modified code
* added new test cases and passed already failing test cases
* removed unwanted files
* Checking local identifier running in always on mode
* local inferred, local mode inferred, sync inferred.
- Adding checks and params for local, local mode, and sync inferred.
* passed all failing tests and added new specs
* Adding local start and stop error
* Updated validation messages for local cli
* Send the value of local_mode not the true/false
* Bug fixes for callback stop and start binary
* Removing bshost.
* Adding local_config_file for passing configuration for local binary
* Updating inferred event logic
- If the user passed anything explicitly, then it is not inferred.
- This is to understand which of the "auto-fallback" flows does CLI fall in.
- Inverted the logic of the *_inferred events.
* updating user agent to 1.7.2
* written extra specs and passed failing spec
* removed unwanted log files
* covered new functions under test
* Modified local unit tests
* Fixing Unit test cases
* removed local object creation
* Indentation and minor null pointer fixes.
* Adding placeholders for local_mode and local_config_file in default json
* Local Start fail error.
* Fix Local Inferred logic
* Fixed local_mode not set to always-on when local_identifier is supplied in browserstack.json
* Send local_identifier_error when local_identifier not running in stopBinary
* Local mode and id validation
* Added test cases for local testing bug fixes
* Warning message in case of local_mode is invalid
* Updated message for invalid local config file
* Fixed cli args precendence on-demand bug
* Updating version to 1.8.0
Co-authored-by: Surya Tripathi <[email protected]>
Co-authored-by: roshan <[email protected]>1 parent 69da94e commit ff9be4d
File tree
11 files changed
+970
-69
lines changed- bin
- commands
- helpers
- templates
- test/unit/bin
- commands
- helpers
11 files changed
+970
-69
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
64 | | - | |
| 70 | + | |
65 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
82 | 92 | | |
83 | 93 | | |
84 | 94 | | |
85 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
86 | 100 | | |
87 | 101 | | |
88 | 102 | | |
| |||
96 | 110 | | |
97 | 111 | | |
98 | 112 | | |
99 | | - | |
| 113 | + | |
100 | 114 | | |
101 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
102 | 119 | | |
103 | 120 | | |
104 | 121 | | |
105 | | - | |
| 122 | + | |
106 | 123 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
110 | 131 | | |
111 | 132 | | |
112 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | | - | |
48 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
49 | 76 | | |
50 | 77 | | |
51 | 78 | | |
52 | 79 | | |
53 | 80 | | |
54 | | - | |
| 81 | + | |
55 | 82 | | |
56 | 83 | | |
| 84 | + | |
| 85 | + | |
57 | 86 | | |
58 | 87 | | |
59 | 88 | | |
| |||
94 | 123 | | |
95 | 124 | | |
96 | 125 | | |
97 | | - | |
| 126 | + | |
98 | 127 | | |
99 | | - | |
| 128 | + | |
100 | 129 | | |
101 | 130 | | |
102 | 131 | | |
| |||
132 | 161 | | |
133 | 162 | | |
134 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
135 | 174 | | |
136 | 175 | | |
137 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
97 | 108 | | |
98 | 109 | | |
99 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
0 commit comments